Home
last modified time | relevance | path

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

/openbmc/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()
/openbmc/linux/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, in TEST()
95 .flags = CLONE_PIDFD | CLONE_PARENT_SETTID, in TEST()
H A 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()
H A Dpidfd_fdinfo_test.c95 static int flags = CLONE_PIDFD | CLONE_NEWPID | CLONE_NEWNS | SIGCHLD; in clone_newns()
H A Dpidfd_setns_test.c78 .flags = CLONE_PIDFD | flags, in create_child()
/openbmc/qemu/system/
H A Dqemu-seccomp.c59 #ifndef CLONE_PIDFD
60 # define CLONE_PIDFD 0x00001000 macro
110 FORBID_CLONE_FLAG(CLONE_PIDFD);
234 RULE_CLONE_FLAG(CLONE_PIDFD),
/openbmc/linux/tools/include/uapi/linux/
H A Dsched.h15 #define CLONE_PIDFD 0x00001000 /* set if a pidfd should be placed in parent */ macro
/openbmc/linux/include/uapi/linux/
H A Dsched.h15 #define CLONE_PIDFD 0x00001000 /* set if a pidfd should be placed in parent */ macro
/openbmc/linux/kernel/
H A Dfork.c2297 if (clone_flags & CLONE_PIDFD) { in copy_process()
2530 if (clone_flags & CLONE_PIDFD) { in copy_process()
2743 if (clone_flags & CLONE_PIDFD) { in copy_process()
2886 if ((args->flags & CLONE_PIDFD) && in kernel_clone()
/openbmc/qemu/linux-user/
H A Dstrace.c1199 #ifndef CLONE_PIDFD
1200 # define CLONE_PIDFD 0x00001000 macro
1208 FLAG_GENERIC(CLONE_PIDFD),
H A Dsyscall.c173 #ifndef CLONE_PIDFD
174 # define CLONE_PIDFD 0x00001000 macro
179 (CLONE_SETTLS | CLONE_PARENT_SETTID | CLONE_PIDFD | \
6678 if (flags & CLONE_PIDFD) { in do_fork()
6684 if ((flags & CLONE_PIDFD) && (flags & CLONE_PARENT_SETTID)) { in do_fork()
6715 if (flags & CLONE_PIDFD) { in do_fork()