/openbmc/linux/tools/testing/selftests/clone3/ |
H A D | clone3_set_tid.c | 221 test_clone3_set_tid(set_tid, 1, CLONE_NEWPID, -EINVAL, 0, 0); in main() 234 test_clone3_set_tid(set_tid, 1, CLONE_NEWPID, 0, 0, 0); in main() 243 test_clone3_set_tid(set_tid, 1, CLONE_NEWPID, -EINVAL, 0, 0); in main() 270 test_clone3_set_tid(set_tid, 1, CLONE_NEWPID, -EINVAL, 0, 0); in main() 279 test_clone3_set_tid(set_tid, 2, CLONE_NEWPID, 0, pid, 0); in main() 282 if (unshare(CLONE_NEWPID) == -1) in main() 314 test_clone3_set_tid(set_tid, 3, CLONE_NEWPID, -EINVAL, 0, 0); in main() 324 test_clone3_set_tid(set_tid, 4, CLONE_NEWPID, -EINVAL, 0, 0); in main() 330 test_clone3_set_tid(set_tid, 3, CLONE_NEWPID, 0, 42, true); in main()
|
H A D | clone3.c | 140 test_clone3(CLONE_NEWPID, 0, 0, CLONE3_ARGS_NO_TEST); in main() 178 test_clone3(CLONE_NEWPID, CLONE_ARGS_SIZE_VER0, 0, in main() 184 test_clone3(CLONE_NEWPID, CLONE_ARGS_SIZE_VER0 - 8, -EINVAL, in main() 189 test_clone3(CLONE_NEWPID, sizeof(struct __clone_args) + 8, 0, in main() 195 test_clone3(CLONE_NEWPID, getpagesize() + 8, -E2BIG, in main()
|
/openbmc/linux/tools/testing/selftests/memfd/ |
H A D | memfd_test.c | 1287 int pid = spawn_thread(CLONE_NEWPID, sysctl_simple_child, NULL); in test_sysctl_simple() 1330 pid = spawn_thread(CLONE_NEWPID, sysctl_simple_child, NULL); in sysctl_nested_child() 1339 pid = spawn_thread(CLONE_NEWPID, sysctl_nested, in sysctl_nested_child() 1343 pid = spawn_thread(CLONE_NEWPID, sysctl_nested, in sysctl_nested_child() 1355 pid = spawn_thread(CLONE_NEWPID, sysctl_nested, in sysctl_nested_child() 1363 pid = spawn_thread(CLONE_NEWPID, sysctl_nested_wait, in sysctl_nested_child() 1372 pid = spawn_thread(CLONE_NEWPID, sysctl_nested_wait, in sysctl_nested_child() 1385 pid = spawn_thread(CLONE_NEWPID, sysctl_nested_wait, in sysctl_nested_child() 1393 pid = spawn_thread(CLONE_NEWPID, sysctl_nested_wait, in sysctl_nested_child() 1401 pid = spawn_thread(CLONE_NEWPID, sysctl_nested_wait, in sysctl_nested_child() [all …]
|
/openbmc/linux/kernel/ |
H A D | nsproxy.c | 158 CLONE_NEWPID | CLONE_NEWNET | in copy_namespaces() 220 CLONE_NEWNET | CLONE_NEWPID | CLONE_NEWCGROUP | in unshare_nsproxy_namespaces() 280 CLONE_NEWPID | CLONE_NEWCGROUP))) in check_setns_flags() 288 if (flags & CLONE_NEWPID) in check_setns_flags() 408 if (flags & CLONE_NEWPID) { in validate_nsset() 462 if (flags & CLONE_NEWPID) { in validate_nsset()
|
H A D | pid_namespace.c | 148 if (!(flags & CLONE_NEWPID)) in copy_pid_ns() 452 .type = CLONE_NEWPID, 463 .type = CLONE_NEWPID,
|
H A D | fork.c | 2292 if ((clone_flags & (CLONE_NEWUSER | CLONE_NEWPID)) || in copy_process() 3312 CLONE_NEWUSER|CLONE_NEWPID|CLONE_NEWCGROUP| in check_unshare_flags()
|
/openbmc/linux/tools/testing/selftests/pidfd/ |
H A D | pidfd_setns_test.c | 43 [PIDFD_NS_PID] = { "pid", CLONE_NEWPID, }, 180 CLONE_NEWUTS | CLONE_NEWPID | in FIXTURE_SETUP() 209 CLONE_NEWUTS | CLONE_NEWPID | in FIXTURE_SETUP() 399 if (info->flag == CLONE_NEWPID) in TEST_F() 435 if (info->flag == CLONE_NEWPID) in TEST_F() 480 if (info->flag == CLONE_NEWPID) in TEST_F()
|
H A D | pidfd_fdinfo_test.c | 95 static int flags = CLONE_PIDFD | CLONE_NEWPID | CLONE_NEWNS | SIGCHLD; in clone_newns()
|
H A D | pidfd_test.c | 165 ret = unshare(CLONE_NEWPID); in test_pidfd_send_signal_recycled_pid_fail()
|
/openbmc/linux/tools/testing/selftests/pid_namespace/ |
H A D | regression_enomem.c | 29 EXPECT_EQ(0, unshare(CLONE_NEWPID)); in TEST()
|
/openbmc/linux/tools/testing/selftests/proc/ |
H A D | proc-loadavg-001.c | 30 if (unshare(CLONE_NEWPID) == -1) { in main()
|
/openbmc/linux/include/uapi/linux/ |
H A D | sched.h | 32 #define CLONE_NEWPID 0x20000000 /* New pid namespace */ macro
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | sched.h | 32 #define CLONE_NEWPID 0x20000000 /* New pid namespace */ macro
|
/openbmc/linux/tools/testing/selftests/nsfs/ |
H A D | pidns.c | 50 pid = clone(child, ca.stack_ptr, CLONE_NEWUSER | CLONE_NEWPID | SIGCHLD, NULL); in main()
|
/openbmc/linux/tools/testing/selftests/mount/ |
H A D | unprivileged-remount-test.c | 34 #ifndef CLONE_NEWPID 35 # define CLONE_NEWPID 0x20000000 macro
|
/openbmc/linux/include/linux/ |
H A D | pid_namespace.h | 97 if (flags & CLONE_NEWPID) in copy_pid_ns()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | ns_current_pid_tgid.c | 131 CLONE_NEWPID | SIGCHLD, arg); in test_ns_current_pid_tgid_new_ns()
|
/openbmc/qemu/system/ |
H A D | qemu-seccomp.c | 120 FORBID_CLONE_FLAG(CLONE_NEWPID); 244 RULE_CLONE_FLAG(CLONE_NEWPID),
|
/openbmc/openbmc/poky/meta/recipes-core/glibc/glibc/ |
H A D | 0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch | 14 CLONE_NEWIPC, CLONE_NEWNET, CLONE_NEWNS, CLONE_NEWPID, or CLONE_NEWUTS
|
/openbmc/linux/tools/testing/selftests/seccomp/ |
H A D | seccomp_bpf.c | 3659 ASSERT_EQ(unshare(CLONE_NEWUSER | CLONE_NEWPID), 0) { in TEST() 3712 ASSERT_EQ(unshare(CLONE_NEWPID), 0) { in TEST() 3732 ASSERT_EQ(unshare(CLONE_NEWPID), 0) { in TEST()
|
/openbmc/qemu/linux-user/ |
H A D | strace.c | 1169 #if defined(CLONE_NEWPID) 1170 FLAG_GENERIC(CLONE_NEWPID),
|