Searched refs:CLONE_PIDFD (Results 1 - 9 of 9) sorted by relevance
/linux-master/tools/testing/selftests/pidfd/ |
H A D | pidfd.h | 29 #ifndef CLONE_PIDFD 30 #define CLONE_PIDFD 0x00001000 macro
|
H A D | pidfd_wait.c | 47 .flags = CLONE_PIDFD | CLONE_PARENT_SETTID, 95 .flags = CLONE_PIDFD | CLONE_PARENT_SETTID,
|
H A D | pidfd_test.c | 451 pid = pidfd_clone(CLONE_PIDFD, &pidfd, child_poll_exec_test); 524 pid = pidfd_clone(CLONE_PIDFD, &pidfd, child_poll_leader_exit_test);
|
H A D | pidfd_fdinfo_test.c | 95 static int flags = CLONE_PIDFD | CLONE_NEWPID | CLONE_NEWNS | SIGCHLD;
|
H A D | pidfd_setns_test.c | 78 .flags = CLONE_PIDFD | flags,
|
/linux-master/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); 94 err(ret, "CLONE_PIDFD"); 96 warnx("CLONE_PIDFD is not supported by the kernel");
|
/linux-master/include/uapi/linux/ |
H A D | sched.h | 15 #define CLONE_PIDFD 0x00001000 /* set if a pidfd should be placed in parent */ macro 52 * @pidfd: If CLONE_PIDFD is set, a pidfd will be
|
/linux-master/tools/include/uapi/linux/ |
H A D | sched.h | 15 #define CLONE_PIDFD 0x00001000 /* set if a pidfd should be placed in parent */ macro 52 * @pidfd: If CLONE_PIDFD is set, a pidfd will be
|
/linux-master/kernel/ |
H A D | fork.c | 2002 * created via CLONE_PIDFD where @pid has no task attached when the pidfd and 2192 if (clone_flags & CLONE_PIDFD) { 2195 * reuse it later for CLONE_PIDFD. 2419 if (clone_flags & CLONE_PIDFD) { 2631 if (clone_flags & CLONE_PIDFD) { 2766 * For legacy clone() calls, CLONE_PIDFD uses the parent_tid argument 2767 * to return the pidfd. Hence, CLONE_PIDFD and CLONE_PARENT_SETTID are 2768 * mutually exclusive. With clone3() CLONE_PIDFD has grown a separate 2774 if ((clone_flags & CLONE_PIDFD) &&
|
Completed in 129 milliseconds