Home
last modified time | relevance | path

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

/linux-6.14.4/samples/pidfd/
Dpidfd-metadata.c20 #ifndef CLONE_PIDFD
21 #define CLONE_PIDFD 0x00001000 macro
92 pid = pidfd_clone(CLONE_PIDFD, &pidfd); in main()
/linux-6.14.4/tools/testing/selftests/pidfd/
Dpidfd.h29 #ifndef CLONE_PIDFD
30 #define CLONE_PIDFD 0x00001000 macro
125 .flags = CLONE_PIDFD | flags, in create_child()
Dpidfd_wait.c36 .flags = CLONE_PIDFD | CLONE_PARENT_SETTID, in TEST()
84 .flags = CLONE_PIDFD | CLONE_PARENT_SETTID, in TEST()
Dpidfd_test.c451 pid = pidfd_clone(CLONE_PIDFD, &pidfd, child_poll_exec_test); in test_pidfd_poll_exec()
524 pid = pidfd_clone(CLONE_PIDFD, &pidfd, child_poll_leader_exit_test); in test_pidfd_poll_leader_exit()
Dpidfd_fdinfo_test.c95 static int flags = CLONE_PIDFD | CLONE_NEWPID | CLONE_NEWNS | SIGCHLD; in clone_newns()
/linux-6.14.4/include/uapi/linux/
Dsched.h15 #define CLONE_PIDFD 0x00001000 /* set if a pidfd should be placed in parent */ macro
/linux-6.14.4/tools/perf/trace/beauty/include/uapi/linux/
Dsched.h15 #define CLONE_PIDFD 0x00001000 /* set if a pidfd should be placed in parent */ macro
/linux-6.14.4/kernel/
Dfork.c2209 if (clone_flags & CLONE_PIDFD) { in copy_process()
2436 if (clone_flags & CLONE_PIDFD) { in copy_process()
2651 if (clone_flags & CLONE_PIDFD) { in copy_process()
2796 if ((clone_flags & CLONE_PIDFD) && in kernel_clone()