Searched refs:CLONE_PIDFD (Results 1 - 9 of 9) sorted by relevance

/linux-master/tools/testing/selftests/pidfd/
H A Dpidfd.h29 #ifndef CLONE_PIDFD
30 #define CLONE_PIDFD 0x00001000 macro
H A Dpidfd_wait.c47 .flags = CLONE_PIDFD | CLONE_PARENT_SETTID,
95 .flags = CLONE_PIDFD | CLONE_PARENT_SETTID,
H A Dpidfd_test.c451 pid = pidfd_clone(CLONE_PIDFD, &pidfd, child_poll_exec_test);
524 pid = pidfd_clone(CLONE_PIDFD, &pidfd, child_poll_leader_exit_test);
H A Dpidfd_fdinfo_test.c95 static int flags = CLONE_PIDFD | CLONE_NEWPID | CLONE_NEWNS | SIGCHLD;
H A Dpidfd_setns_test.c78 .flags = CLONE_PIDFD | flags,
/linux-master/samples/pidfd/
H A Dpidfd-metadata.c20 #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 Dsched.h15 #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 Dsched.h15 #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 Dfork.c2002 * 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