Searched refs:CLONE_NEWPID (Results 1 – 12 of 12) sorted by relevance
/tools/testing/selftests/clone3/ |
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()
|
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()
|
/tools/testing/selftests/pid_namespace/ |
D | regression_enomem.c | 29 EXPECT_EQ(0, unshare(CLONE_NEWPID)); in TEST()
|
/tools/testing/selftests/proc/ |
D | proc-loadavg-001.c | 30 if (unshare(CLONE_NEWPID) == -1) { in main()
|
/tools/testing/selftests/pidfd/ |
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()
|
D | pidfd_fdinfo_test.c | 95 static int flags = CLONE_PIDFD | CLONE_NEWPID | CLONE_NEWNS | SIGCHLD; in clone_newns()
|
D | pidfd_test.c | 164 ret = unshare(CLONE_NEWPID); in test_pidfd_send_signal_recycled_pid_fail()
|
/tools/include/uapi/linux/ |
D | sched.h | 32 #define CLONE_NEWPID 0x20000000 /* New pid namespace */ macro
|
/tools/testing/selftests/nsfs/ |
D | pidns.c | 50 pid = clone(child, ca.stack_ptr, CLONE_NEWUSER | CLONE_NEWPID | SIGCHLD, NULL); in main()
|
/tools/testing/selftests/mount/ |
D | unprivileged-remount-test.c | 34 #ifndef CLONE_NEWPID 35 # define CLONE_NEWPID 0x20000000 macro
|
/tools/testing/selftests/bpf/ |
D | test_current_pid_tgid_new_ns.c | 45 if (CHECK_NEWNS(unshare(CLONE_NEWPID | CLONE_NEWNS), in main()
|
/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 3586 ASSERT_EQ(unshare(CLONE_NEWUSER | CLONE_NEWPID), 0) { in TEST() 3639 ASSERT_EQ(unshare(CLONE_NEWPID), 0); in TEST() 3654 ASSERT_EQ(unshare(CLONE_NEWPID), 0) { in TEST()
|