Home
last modified time | relevance | path

Searched refs:CLONE_NEWPID (Results 1 – 25 of 34) sorted by relevance

12

/external/strace/xlat/
Dsetns_types.h17 #if !(defined(CLONE_NEWPID) || (defined(HAVE_DECL_CLONE_NEWPID) && HAVE_DECL_CLONE_NEWPID))
18 # define CLONE_NEWPID 0x20000000 macro
38 XLAT(CLONE_NEWPID),
Dclone_flags.h62 #if !(defined(CLONE_NEWPID) || (defined(HAVE_DECL_CLONE_NEWPID) && HAVE_DECL_CLONE_NEWPID))
63 # define CLONE_NEWPID 0x20000000 macro
100 XLAT(CLONE_NEWPID),
Dunshare_flags.h44 #if defined(CLONE_NEWPID) || (defined(HAVE_DECL_CLONE_NEWPID) && HAVE_DECL_CLONE_NEWPID)
45 XLAT(CLONE_NEWPID),
Dunshare_flags.in12 CLONE_NEWPID
Dsetns_types.in7 CLONE_NEWPID 0x20000000
Dclone_flags.in21 CLONE_NEWPID 0x20000000
/external/libchrome/sandbox/linux/suid/
Dsandbox.c36 #if !defined(CLONE_NEWPID)
37 #define CLONE_NEWPID 0x20000000 macro
230 const int kCloneExtraFlags[] = {CLONE_NEWPID | CLONE_NEWNET, CLONE_NEWPID, }; in MoveToNewNamespaces()
279 if (kCloneExtraFlags[i] & CLONE_NEWPID) { in MoveToNewNamespaces()
301 if (kCloneExtraFlags[i] & CLONE_NEWPID) { in MoveToNewNamespaces()
/external/ltp/include/lapi/
Dnamespaces_constants.h28 #ifndef CLONE_NEWPID
29 # define CLONE_NEWPID 0x20000000 macro
/external/libchrome/sandbox/linux/services/
Dnamespace_sandbox.cc91 : ns_types(CLONE_NEWUSER | CLONE_NEWPID | CLONE_NEWNET), in Options()
129 const int kSupportedTypes[] = {CLONE_NEWUSER, CLONE_NEWPID, CLONE_NEWNET}; in LaunchProcessWithOptions()
151 std::make_pair(CLONE_NEWPID, kSandboxPIDNSEnvironmentVarName), in LaunchProcessWithOptions()
169 base::ForkWithFlags(CLONE_NEWPID | LINUX_SIGCHLD, nullptr, nullptr); in ForkInNewPidNamespace()
Dnamespace_sandbox_unittest.cc78 NamespaceUtils::KernelSupportsUnprivilegedNamespace(CLONE_NEWPID)); in MULTIPROCESS_TEST_MAIN()
97 NamespaceUtils::KernelSupportsUnprivilegedNamespace(CLONE_NEWPID)); in MULTIPROCESS_TEST_MAIN()
108 options.ns_types = CLONE_NEWUSER | CLONE_NEWPID; in TEST_F()
Dnamespace_utils.cc84 case CLONE_NEWPID: in KernelSupportsUnprivilegedNamespace()
/external/ltp/testcases/kernel/containers/pidns/
Dpidns32.c55 cpid1 = ltp_clone_quick(CLONE_NEWPID | SIGCHLD, in child_fn1()
79 cpid1 = ltp_clone_quick(CLONE_NEWPID | SIGCHLD, in test_max_nest()
Dpidns13.c197 cpid1 = ltp_clone_quick(CLONE_NEWPID | SIGCHLD, child_fn, cinit_no); in main()
201 cpid2 = ltp_clone_quick(CLONE_NEWPID | SIGCHLD, child_fn, cinit_no); in main()
Dpidns05.c132 ret = do_clone_unshare_test(T_CLONE, CLONE_NEWPID, in create_nested_container()
238 TEST(do_clone_unshare_test(T_CLONE, CLONE_NEWPID, in main()
Dpidns_helper.h31 pid = do_clone_unshare_test(T_CLONE, CLONE_NEWPID, dummy_child, NULL); in check_newpid()
Dpidns02.c99 TEST(do_clone_unshare_test(T_CLONE, CLONE_NEWPID, child_fn1, NULL)); in main()
Dpidns10.c101 TEST(do_clone_unshare_test(T_CLONE, CLONE_NEWPID, child_fn, NULL)); in main()
Dpidns01.c102 TEST(do_clone_unshare_test(T_CLONE, CLONE_NEWPID, child_fn1, NULL)); in main()
Dpidns03.c89 if (do_clone_tests(CLONE_NEWPID, child_func, NULL, NULL, NULL) == -1) in test()
Dpidns06.c125 TEST(do_clone_unshare_test(T_CLONE, CLONE_NEWPID, kill_pid_in_childfun, in main()
Dpidns04.c117 TEST(do_clone_unshare_test(T_CLONE, CLONE_NEWPID, child_fn1, NULL)); in main()
/external/ltp/testcases/kernel/syscalls/setns/
Dsetns.h73 #if defined(CLONE_NEWPID) in init_available_ns()
74 init_ns_type(CLONE_NEWPID, "pid"); in init_available_ns()
/external/ltp/testcases/kernel/containers/share/
Dns_common.h35 {"pid", CLONE_NEWPID},
/external/kernel-headers/original/uapi/linux/
Dsched.h28 #define CLONE_NEWPID 0x20000000 /* New pid namespace */ macro
/external/linux-kselftest/tools/testing/selftests/mount/
Dunprivileged-remount-test.c33 #ifndef CLONE_NEWPID
34 # define CLONE_NEWPID 0x20000000 macro

12