| /OK3568_Linux_fs/kernel/tools/testing/selftests/uevent/ |
| H A D | uevent_filtering.c | 127 if (post_flags & CLONE_NEWUSER) { in uevent_listener() 128 ret = unshare(CLONE_NEWUSER); in uevent_listener() 273 if (pre_flags & CLONE_NEWUSER) { in do_test() 274 ret = unshare(CLONE_NEWUSER); in do_test() 416 ret = do_test(CLONE_NEWUSER, 0, true, sync_fd); in TEST() 430 ret = do_test(CLONE_NEWUSER | CLONE_NEWNET, 0, false, sync_fd); in TEST() 460 ret = do_test(0, CLONE_NEWUSER, true, sync_fd); in TEST() 476 ret = do_test(0, CLONE_NEWUSER | CLONE_NEWNET, true, sync_fd); in TEST()
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | nsproxy.c | 265 CLONE_NEWNET | CLONE_NEWTIME | CLONE_NEWUSER | in check_setns_flags() 270 if (flags & CLONE_NEWUSER) in check_setns_flags() 305 if (flags & CLONE_NEWUSER) in put_nsset() 325 if (flags & CLONE_NEWUSER) in prepare_nsset() 406 if (flags & CLONE_NEWUSER) in validate_nsset() 418 if (flags & CLONE_NEWUSER) { in validate_nsset() 504 if (flags & CLONE_NEWUSER) { in commit_nsset()
|
| H A D | fork.c | 1920 if ((clone_flags & (CLONE_NEWUSER|CLONE_FS)) == (CLONE_NEWUSER|CLONE_FS)) in copy_process() 1953 if ((clone_flags & (CLONE_NEWUSER | CLONE_NEWPID)) || in copy_process() 2929 CLONE_NEWUSER|CLONE_NEWPID|CLONE_NEWCGROUP| in check_unshare_flags() 3015 if (unshare_flags & CLONE_NEWUSER) in ksys_unshare()
|
| H A D | user_namespace.c | 160 if (!(unshare_flags & CLONE_NEWUSER)) in unshare_userns() 1371 .type = CLONE_NEWUSER,
|
| H A D | cred.c | 365 if (clone_flags & CLONE_NEWUSER) { in copy_creds()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/pidfd/ |
| H A D | pidfd_setns_test.c | 41 [PIDFD_NS_USER] = { "user", CLONE_NEWUSER, }, 160 CLONE_NEWUSER | CLONE_NEWNET); in FIXTURE_SETUP() 178 CLONE_NEWUSER | CLONE_NEWNS | in FIXTURE_SETUP() 207 CLONE_NEWUSER | CLONE_NEWNS | in FIXTURE_SETUP() 354 ASSERT_NE(setns(self->pidfd, CLONE_NEWUSER | CLONE_VM), 0); in TEST_F() 364 ASSERT_NE(setns(self->child_pidfd_exited, CLONE_NEWUSER | CLONE_NEWNET), in TEST_F()
|
| H A D | pidfd_fdinfo_test.c | 98 if (!(flags & CLONE_NEWUSER) && geteuid() != 0) in clone_newns() 99 flags |= CLONE_NEWUSER; in clone_newns()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/nsfs/ |
| H A D | owner.c | 42 if (unshare(CLONE_NEWUTS | CLONE_NEWUSER)) in main() 81 if (unshare(CLONE_NEWUSER)) in main()
|
| H A D | pidns.c | 50 pid = clone(child, ca.stack_ptr, CLONE_NEWUSER | CLONE_NEWPID | SIGCHLD, NULL); in main()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/safesetid/ |
| H A D | safesetid-test.c | 19 #ifndef CLONE_NEWUSER 20 # define CLONE_NEWUSER 0x10000000 macro 181 int clone_flags = CLONE_NEWUSER; in test_userns()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/mount/ |
| H A D | unprivileged-remount-test.c | 31 #ifndef CLONE_NEWUSER 32 # define CLONE_NEWUSER 0x10000000 macro 162 if (unshare(CLONE_NEWUSER) !=0) { in create_and_enter_userns()
|
| H A D | nosymfollow-test.c | 99 if (unshare(CLONE_NEWUSER) != 0) in create_and_enter_ns()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/pid_namespace/ |
| H A D | regression_enomem.c | 27 EXPECT_EQ(0, unshare(CLONE_NEWUSER)); in TEST()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | sched.h | 28 #define CLONE_NEWUSER 0x10000000 /* New user namespace */ macro
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | sched.h | 28 #define CLONE_NEWUSER 0x10000000 /* New user namespace */ macro
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/bits/ |
| H A D | sched.h | 70 # define CLONE_NEWUSER 0x10000000 /* New user namespace. */ macro
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/bits/ |
| H A D | sched.h | 70 # define CLONE_NEWUSER 0x10000000 /* New user namespace. */ macro
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | sched.h | 31 #define CLONE_NEWUSER 0x10000000 /* New user namespace */ macro
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | nsproxy.h | 62 if (set->flags & CLONE_NEWUSER) in nsset_cred()
|
| H A D | user_namespace.h | 162 if (unshare_flags & CLONE_NEWUSER) in unshare_userns()
|
| /OK3568_Linux_fs/kernel/tools/include/uapi/linux/ |
| H A D | sched.h | 31 #define CLONE_NEWUSER 0x10000000 /* New user namespace */ macro
|
| /OK3568_Linux_fs/kernel/fs/ |
| H A D | nsfs.c | 206 if (ns->ops->type != CLONE_NEWUSER) in ns_ioctl()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/capabilities/ |
| H A D | test_execve.c | 121 } else if (unshare(CLONE_NEWUSER | CLONE_NEWNS) == 0) { in create_and_enter_ns()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/filesystems/binderfs/ |
| H A D | binderfs_test.c | 283 ret = unshare(CLONE_NEWUSER); in change_userns()
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/ |
| H A D | utils.py | 1624 CLONE_NEWUSER = 0x10000000 1633 ret = libc.unshare(CLONE_NEWNET | CLONE_NEWUSER)
|