Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/testing/selftests/clone3/
H A Dclone3_set_tid.c221 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 Dclone3.c140 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()
/OK3568_Linux_fs/kernel/kernel/
H A Dnsproxy.c159 CLONE_NEWPID | CLONE_NEWNET | in copy_namespaces()
223 CLONE_NEWNET | CLONE_NEWPID | CLONE_NEWCGROUP | in unshare_nsproxy_namespaces()
266 CLONE_NEWPID | CLONE_NEWCGROUP))) in check_setns_flags()
274 if (flags & CLONE_NEWPID) in check_setns_flags()
394 if (flags & CLONE_NEWPID) { in validate_nsset()
448 if (flags & CLONE_NEWPID) { in validate_nsset()
H A Dpid_namespace.c145 if (!(flags & CLONE_NEWPID)) in copy_pid_ns()
439 .type = CLONE_NEWPID,
450 .type = CLONE_NEWPID,
H A Dfork.c1953 if ((clone_flags & (CLONE_NEWUSER | CLONE_NEWPID)) || in copy_process()
2929 CLONE_NEWUSER|CLONE_NEWPID|CLONE_NEWCGROUP| in check_unshare_flags()
/OK3568_Linux_fs/kernel/tools/testing/selftests/pidfd/
H A Dpidfd_setns_test.c43 [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 Dpidfd_fdinfo_test.c95 static int flags = CLONE_PIDFD | CLONE_NEWPID | CLONE_NEWNS | SIGCHLD; in clone_newns()
H A Dpidfd_test.c164 ret = unshare(CLONE_NEWPID); in test_pidfd_send_signal_recycled_pid_fail()
/OK3568_Linux_fs/kernel/tools/testing/selftests/pid_namespace/
H A Dregression_enomem.c29 EXPECT_EQ(0, unshare(CLONE_NEWPID)); in TEST()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dsched.h29 #define CLONE_NEWPID 0x20000000 /* New pid namespace */ macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dsched.h29 #define CLONE_NEWPID 0x20000000 /* New pid namespace */ macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/bits/
H A Dsched.h71 # define CLONE_NEWPID 0x20000000 /* New pid namespace. */ macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/bits/
H A Dsched.h71 # define CLONE_NEWPID 0x20000000 /* New pid namespace. */ macro
/OK3568_Linux_fs/kernel/tools/testing/selftests/proc/
H A Dproc-loadavg-001.c30 if (unshare(CLONE_NEWPID) == -1) { in main()
/OK3568_Linux_fs/kernel/tools/testing/selftests/mount/
H A Dunprivileged-remount-test.c34 #ifndef CLONE_NEWPID
35 # define CLONE_NEWPID 0x20000000 macro
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dsched.h32 #define CLONE_NEWPID 0x20000000 /* New pid namespace */ macro
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dsched.h32 #define CLONE_NEWPID 0x20000000 /* New pid namespace */ macro
/OK3568_Linux_fs/kernel/include/linux/
H A Dpid_namespace.h67 if (flags & CLONE_NEWPID) in copy_pid_ns()
/OK3568_Linux_fs/kernel/tools/testing/selftests/nsfs/
H A Dpidns.c50 pid = clone(child, ca.stack_ptr, CLONE_NEWUSER | CLONE_NEWPID | SIGCHLD, NULL); in main()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A Dtest_current_pid_tgid_new_ns.c45 if (CHECK_NEWNS(unshare(CLONE_NEWPID | CLONE_NEWNS), in main()
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/glibc/glibc/
H A D0024-fix-create-thread-failed-in-unprivileged-process-BZ-.patch14 CLONE_NEWIPC, CLONE_NEWNET, CLONE_NEWNS, CLONE_NEWPID, or CLONE_NEWUTS
/OK3568_Linux_fs/kernel/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c3586 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()