Home
last modified time | relevance | path

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

/linux-6.3-rc2/samples/pidfd/
A Dpidfd-metadata.c20 #ifndef CLONE_PIDFD
21 #define CLONE_PIDFD 0x00001000 macro
92 pid = pidfd_clone(CLONE_PIDFD, &pidfd); in main()
/linux-6.3-rc2/tools/testing/selftests/pidfd/
A Dpidfd.h29 #ifndef CLONE_PIDFD
30 #define CLONE_PIDFD 0x00001000 macro
A Dpidfd_wait.c47 .flags = CLONE_PIDFD | CLONE_PARENT_SETTID, in TEST()
95 .flags = CLONE_PIDFD | CLONE_PARENT_SETTID, in TEST()
A Dpidfd_test.c450 pid = pidfd_clone(CLONE_PIDFD, &pidfd, child_poll_exec_test); in test_pidfd_poll_exec()
523 pid = pidfd_clone(CLONE_PIDFD, &pidfd, child_poll_leader_exit_test); in test_pidfd_poll_leader_exit()
A Dpidfd_fdinfo_test.c95 static int flags = CLONE_PIDFD | CLONE_NEWPID | CLONE_NEWNS | SIGCHLD; in clone_newns()
A Dpidfd_setns_test.c78 .flags = CLONE_PIDFD | flags, in create_child()
/linux-6.3-rc2/include/uapi/linux/
A Dsched.h15 #define CLONE_PIDFD 0x00001000 /* set if a pidfd should be placed in parent */ macro
/linux-6.3-rc2/tools/include/uapi/linux/
A Dsched.h15 #define CLONE_PIDFD 0x00001000 /* set if a pidfd should be placed in parent */ macro
/linux-6.3-rc2/kernel/
A Dfork.c2071 if (clone_flags & CLONE_PIDFD) { in copy_process()
2298 if (clone_flags & CLONE_PIDFD) { in copy_process()
2519 if (clone_flags & CLONE_PIDFD) { in copy_process()
2661 if ((args->flags & CLONE_PIDFD) && in kernel_clone()

Completed in 14 milliseconds