/external/ltp/testcases/kernel/containers/userns/ |
D | userns04.c | 59 ret = ltp_syscall(__NR_setns, ((long)arg), CLONE_NEWUSER); in child_fn2() 80 cpid1 = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD, in test_cap_sys_admin() 88 cpid2 = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD, in test_cap_sys_admin() 98 if (ltp_syscall(__NR_setns, fd, CLONE_NEWUSER) == -1) { in test_cap_sys_admin()
|
D | userns05.c | 87 cpid2 = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD, in test_userns_id() 101 if (unshare(CLONE_NEWUSER) == -1) { in test_userns_id()
|
D | userns07.c | 59 cpid1 = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD, in child_fn1() 96 cpid1 = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD, in test_max_nest()
|
D | userns06.c | 125 cpid1 = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD, in main() 131 cpid2 = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD, in main()
|
D | userns03.c | 179 cpid1 = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD, in main() 185 cpid2 = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD, in main()
|
D | userns_helper.h | 35 pid = do_clone_unshare_test(T_CLONE, CLONE_NEWUSER, dummy_child, NULL); in check_newuser()
|
D | userns01.c | 108 TEST(do_clone_unshare_test(T_CLONE, CLONE_NEWUSER, in main()
|
D | userns02.c | 84 childpid = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD, in main()
|
/external/strace/xlat/ |
D | setns_types.h | 14 #if !(defined(CLONE_NEWUSER) || (defined(HAVE_DECL_CLONE_NEWUSER) && HAVE_DECL_CLONE_NEWUSER)) 15 # define CLONE_NEWUSER 0x10000000 macro 37 XLAT(CLONE_NEWUSER),
|
D | clone_flags.h | 59 #if !(defined(CLONE_NEWUSER) || (defined(HAVE_DECL_CLONE_NEWUSER) && HAVE_DECL_CLONE_NEWUSER)) 60 # define CLONE_NEWUSER 0x10000000 macro 99 XLAT(CLONE_NEWUSER),
|
D | unshare_flags.h | 41 #if defined(CLONE_NEWUSER) || (defined(HAVE_DECL_CLONE_NEWUSER) && HAVE_DECL_CLONE_NEWUSER) 42 XLAT(CLONE_NEWUSER),
|
D | unshare_flags.in | 11 CLONE_NEWUSER
|
D | setns_types.in | 6 CLONE_NEWUSER 0x10000000
|
D | clone_flags.in | 20 CLONE_NEWUSER 0x10000000
|
/external/ltp/include/lapi/ |
D | namespaces_constants.h | 31 #ifndef CLONE_NEWUSER 32 # define CLONE_NEWUSER 0x10000000 macro
|
/external/libchrome/sandbox/linux/services/ |
D | namespace_sandbox.cc | 91 : ns_types(CLONE_NEWUSER | CLONE_NEWPID | CLONE_NEWNET), in Options() 129 const int kSupportedTypes[] = {CLONE_NEWUSER, CLONE_NEWPID, CLONE_NEWNET}; in LaunchProcessWithOptions() 141 CHECK(clone_flags & CLONE_NEWUSER); in LaunchProcessWithOptions() 150 std::make_pair(CLONE_NEWUSER, kSandboxUSERNSEnvironmentVarName), in LaunchProcessWithOptions()
|
D | namespace_utils_unittest.cc | 26 NamespaceUtils::KernelSupportsUnprivilegedNamespace(CLONE_NEWUSER); in SANDBOX_TEST() 47 base::ForkWithFlags(CLONE_NEWUSER | SIGCHLD, nullptr, nullptr); in SANDBOX_TEST()
|
D | credentials.cc | 257 const pid_t pid = sys_clone(CLONE_NEWUSER | SIGCHLD, 0, 0, 0, 0); in CanCreateProcessInNewUserNS() 290 int ret = sys_unshare(CLONE_NEWUSER); in MoveToNewUserNS()
|
D | namespace_utils.cc | 73 case CLONE_NEWUSER: in KernelSupportsUnprivilegedNamespace()
|
D | namespace_sandbox_unittest.cc | 108 options.ns_types = CLONE_NEWUSER | CLONE_NEWPID; in TEST_F()
|
/external/linux-kselftest/tools/testing/selftests/mount/ |
D | unprivileged-remount-test.c | 30 #ifndef CLONE_NEWUSER 31 # define CLONE_NEWUSER 0x10000000 macro 161 if (unshare(CLONE_NEWUSER) !=0) { in create_and_enter_userns()
|
/external/ltp/testcases/kernel/containers/share/ |
D | ns_common.h | 36 {"user", CLONE_NEWUSER},
|
/external/kernel-headers/original/uapi/linux/ |
D | sched.h | 27 #define CLONE_NEWUSER 0x10000000 /* New user namespace */ macro
|
/external/toybox/toys/other/ |
D | nsenter.c | 119 unsigned flags[]={CLONE_NEWUSER, CLONE_NEWUTS, CLONE_NEWPID, CLONE_NEWNET, in unshare_main()
|
/external/minijail/linux-x86/ |
D | libconstants.gen.c | 89 #ifdef CLONE_NEWUSER 90 { "CLONE_NEWUSER", (unsigned long) CLONE_NEWUSER },
|