Searched refs:CLONE_PIDFD (Results 1 – 8 of 8) sorted by relevance
| /linux/samples/pidfd/ |
| H A D | pidfd-metadata.c | 20 #ifndef CLONE_PIDFD 21 #define CLONE_PIDFD 0x00001000 macro 92 pid = pidfd_clone(CLONE_PIDFD, &pidfd); in main()
|
| /linux/tools/testing/selftests/pidfd/ |
| H A D | pidfd.h | 43 #ifndef CLONE_PIDFD 44 #define CLONE_PIDFD 0x00001000 macro 278 .flags = CLONE_PIDFD | flags, in create_child()
|
| H A D | pidfd_wait.c | 36 .flags = CLONE_PIDFD | CLONE_PARENT_SETTID, in TEST() 84 .flags = CLONE_PIDFD | CLONE_PARENT_SETTID, in TEST()
|
| H A D | pidfd_test.c | 503 pid = pidfd_clone(CLONE_PIDFD, &pidfd, child_poll_exec_test); in test_pidfd_poll_exec() 576 pid = pidfd_clone(CLONE_PIDFD, &pidfd, child_poll_leader_exit_test); in test_pidfd_poll_leader_exit()
|
| H A D | pidfd_fdinfo_test.c | 96 static int flags = CLONE_PIDFD | CLONE_NEWPID | CLONE_NEWNS | SIGCHLD; in clone_newns()
|
| /linux/tools/include/uapi/linux/ |
| H A D | sched.h | |
| /linux/tools/perf/trace/beauty/include/uapi/linux/ |
| H A D | sched.h | 15 #define CLONE_PIDFD 0x00001000 /* set if a pidfd should be placed in parent */ macro
|
| /linux/kernel/ |
| H A D | fork.c | 2070 if (clone_flags & CLONE_PIDFD) { in copy_process() 2073 * reuse it later for CLONE_PIDFD. in copy_process() 2097 if (!(clone_flags & CLONE_PIDFD)) in copy_process() 2339 if (clone_flags & CLONE_PIDFD) { in copy_process() 2349 * that via CLONE_PIDFD. in copy_process() 2590 if (clone_flags & CLONE_PIDFD) { in copy_process() 2735 * For legacy clone() calls, CLONE_PIDFD uses the parent_tid argument in kernel_clone() 2736 * to return the pidfd. Hence, CLONE_PIDFD and CLONE_PARENT_SETTID are in kernel_clone() 2737 * mutually exclusive. With clone3() CLONE_PIDFD has grown a separate in kernel_clone() 2743 if ((clone_flags & CLONE_PIDFD) in kernel_clone() [all...] |