Home
last modified time | relevance | path

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

12

/external/linux-kselftest/tools/testing/selftests/clone3/
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()
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()
/external/strace/xlat/
Dsetns_types.h41 #if defined(CLONE_NEWPID) || (defined(HAVE_DECL_CLONE_NEWPID) && HAVE_DECL_CLONE_NEWPID)
43 static_assert((CLONE_NEWPID) == (0x20000000), "CLONE_NEWPID != 0x20000000");
46 # define CLONE_NEWPID 0x20000000
67 XLAT(CLONE_NEWPID),
Dclone_flags.h146 #if defined(CLONE_NEWPID) || (defined(HAVE_DECL_CLONE_NEWPID) && HAVE_DECL_CLONE_NEWPID)
148 static_assert((CLONE_NEWPID) == (0x20000000), "CLONE_NEWPID != 0x20000000");
151 # define CLONE_NEWPID 0x20000000
198 XLAT(CLONE_NEWPID),
Dunshare_flags.h50 #if defined(CLONE_NEWPID) || (defined(HAVE_DECL_CLONE_NEWPID) && HAVE_DECL_CLONE_NEWPID)
51 XLAT(CLONE_NEWPID),
Dunshare_flags.in12 CLONE_NEWPID
Dsetns_types.in7 CLONE_NEWPID 0x20000000
Dclone_flags.in21 CLONE_NEWPID 0x20000000
/external/ltp/testcases/kernel/containers/pidns/
Dpidns32.c34 cpid = ltp_clone_quick(CLONE_NEWPID | SIGCHLD, child_func, 0); in child_func()
54 ret = ltp_clone_quick(CLONE_NEWPID | SIGCHLD, child_func, 0); in run()
Dpidns05.c132 ret = do_clone_unshare_test(T_CLONE, CLONE_NEWPID, in create_nested_container()
236 TEST(do_clone_unshare_test(T_CLONE, CLONE_NEWPID, in main()
Dpidns_helper.h28 pid = do_clone_unshare_test(T_CLONE, CLONE_NEWPID, dummy_child, NULL); in check_newpid()
Dpidns03.c50 ret = ltp_clone_quick(CLONE_NEWPID | SIGCHLD, child_func, NULL); in run()
Dpidns12.c52 ret = ltp_clone_quick(CLONE_NEWPID | SIGCHLD, child_func, NULL); in run()
Dpidns10.c99 TEST(do_clone_unshare_test(T_CLONE, CLONE_NEWPID, child_fn, NULL)); in main()
Dpidns20.c76 ret = ltp_clone_quick(CLONE_NEWPID | SIGCHLD, child_func, NULL); in run()
Dpidns06.c124 TEST(do_clone_unshare_test(T_CLONE, CLONE_NEWPID, kill_pid_in_childfun, in main()
/external/ltp/include/lapi/
Dsched.h122 #ifndef CLONE_NEWPID
123 # define CLONE_NEWPID 0x20000000 macro
/external/linux-kselftest/tools/testing/selftests/pidfd/
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()
/external/linux-kselftest/tools/testing/selftests/pid_namespace/
Dregression_enomem.c29 EXPECT_EQ(0, unshare(CLONE_NEWPID)); in TEST()
/external/ltp/testcases/kernel/containers/share/
Dns_common.h22 {"pid", CLONE_NEWPID},
/external/linux-kselftest/tools/testing/selftests/proc/
Dproc-loadavg-001.c30 if (unshare(CLONE_NEWPID) == -1) { in main()
/external/ltp/testcases/kernel/syscalls/ioctl/
Dioctl_ns01.c78 if (ltp_clone(CLONE_NEWPID | SIGCHLD, &child, 0, in run()
/external/ltp/testcases/kernel/syscalls/setns/
Dsetns.h49 init_ns_type(CLONE_NEWPID, "pid"); in init_available_ns()
/external/kernel-headers/original/uapi/linux/
Dsched.h32 #define CLONE_NEWPID 0x20000000 /* New pid namespace */ macro
/external/linux-kselftest/tools/testing/selftests/mount/
Dunprivileged-remount-test.c34 #ifndef CLONE_NEWPID
35 # define CLONE_NEWPID 0x20000000 macro

12