Home
last modified time | relevance | path

Searched refs:CLONE_PIDFD (Results 1 – 10 of 10) sorted by relevance

/linux/samples/pidfd/
H A Dpidfd-metadata.c20 #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 Dpidfd.h43 #ifndef CLONE_PIDFD
44 #define CLONE_PIDFD 0x00001000 macro
273 .flags = CLONE_PIDFD | flags, in create_child()
H A Dpidfd_wait.c36 .flags = CLONE_PIDFD | CLONE_PARENT_SETTID, in TEST()
84 .flags = CLONE_PIDFD | CLONE_PARENT_SETTID, in TEST()
H A Dpidfd_test.c503 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 Dpidfd_fdinfo_test.c96 static int flags = CLONE_PIDFD | CLONE_NEWPID | CLONE_NEWNS | SIGCHLD; in clone_newns()
/linux/tools/include/uapi/linux/
H A Dsched.h
/linux/include/uapi/linux/
H A Dsched.h15 #define CLONE_PIDFD 0x00001000 /* set if a pidfd should be placed in parent */ macro
H A Dpidfd.h15 #define PIDFD_STALE CLONE_PIDFD
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dsched.h15 #define CLONE_PIDFD 0x00001000 /* set if a pidfd should be placed in parent */ macro
/linux/kernel/
H A Dfork.c2024 if (clone_flags & CLONE_PIDFD) { in copy_process()
2250 if (clone_flags & CLONE_PIDFD) { in copy_process()
2483 if (clone_flags & CLONE_PIDFD) { in copy_process()
2628 if ((clone_flags & CLONE_PIDFD) && in kernel_clone()