CLONE_NEWUSER 204 fs/nsfs.c if (ns->ops->type != CLONE_NEWUSER) CLONE_NEWUSER 154 include/linux/user_namespace.h if (unshare_flags & CLONE_NEWUSER) CLONE_NEWUSER 359 kernel/cred.c if (clone_flags & CLONE_NEWUSER) { CLONE_NEWUSER 1779 kernel/fork.c if ((clone_flags & (CLONE_NEWUSER|CLONE_FS)) == (CLONE_NEWUSER|CLONE_FS)) CLONE_NEWUSER 1812 kernel/fork.c if ((clone_flags & (CLONE_NEWUSER | CLONE_NEWPID)) || CLONE_NEWUSER 2738 kernel/fork.c CLONE_NEWUSER|CLONE_NEWPID|CLONE_NEWCGROUP)) CLONE_NEWUSER 2822 kernel/fork.c if (unshare_flags & CLONE_NEWUSER) CLONE_NEWUSER 159 kernel/user_namespace.c if (!(unshare_flags & CLONE_NEWUSER)) CLONE_NEWUSER 1312 kernel/user_namespace.c .type = CLONE_NEWUSER, CLONE_NEWUSER 121 tools/testing/selftests/capabilities/test_execve.c } else if (unshare(CLONE_NEWUSER | CLONE_NEWNS) == 0) { CLONE_NEWUSER 81 tools/testing/selftests/filesystems/binderfs/binderfs_test.c ret = unshare(CLONE_NEWUSER); CLONE_NEWUSER 31 tools/testing/selftests/mount/unprivileged-remount-test.c #ifndef CLONE_NEWUSER CLONE_NEWUSER 162 tools/testing/selftests/mount/unprivileged-remount-test.c if (unshare(CLONE_NEWUSER) !=0) { CLONE_NEWUSER 42 tools/testing/selftests/nsfs/owner.c if (unshare(CLONE_NEWUTS | CLONE_NEWUSER)) CLONE_NEWUSER 81 tools/testing/selftests/nsfs/owner.c if (unshare(CLONE_NEWUSER)) CLONE_NEWUSER 50 tools/testing/selftests/nsfs/pidns.c pid = clone(child, ca.stack_ptr, CLONE_NEWUSER | CLONE_NEWPID | SIGCHLD, NULL); CLONE_NEWUSER 19 tools/testing/selftests/safesetid/safesetid-test.c #ifndef CLONE_NEWUSER CLONE_NEWUSER 181 tools/testing/selftests/safesetid/safesetid-test.c int clone_flags = CLONE_NEWUSER; CLONE_NEWUSER 3357 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_EQ(unshare(CLONE_NEWUSER | CLONE_NEWPID), 0); CLONE_NEWUSER 3462 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_EQ(unshare(CLONE_NEWUSER), 0); CLONE_NEWUSER 128 tools/testing/selftests/uevent/uevent_filtering.c if (post_flags & CLONE_NEWUSER) { CLONE_NEWUSER 129 tools/testing/selftests/uevent/uevent_filtering.c ret = unshare(CLONE_NEWUSER); CLONE_NEWUSER 274 tools/testing/selftests/uevent/uevent_filtering.c if (pre_flags & CLONE_NEWUSER) { CLONE_NEWUSER 275 tools/testing/selftests/uevent/uevent_filtering.c ret = unshare(CLONE_NEWUSER); CLONE_NEWUSER 417 tools/testing/selftests/uevent/uevent_filtering.c ret = do_test(CLONE_NEWUSER, 0, true, sync_fd); CLONE_NEWUSER 431 tools/testing/selftests/uevent/uevent_filtering.c ret = do_test(CLONE_NEWUSER | CLONE_NEWNET, 0, false, sync_fd); CLONE_NEWUSER 461 tools/testing/selftests/uevent/uevent_filtering.c ret = do_test(0, CLONE_NEWUSER, true, sync_fd); CLONE_NEWUSER 477 tools/testing/selftests/uevent/uevent_filtering.c ret = do_test(0, CLONE_NEWUSER | CLONE_NEWNET, true, sync_fd);