History

pidfs: get rid of __pidfd_prepare()

Fold it into pidfd_prepare() and rename PIDFD_CLONE to PIDFD_STALE to indicate that the passed pid might not have task linkage and no explicit check for that should be performed.

Christian Brauner committed 1 year ago

Commit a71f4021 parent fd0a1094 files · +44 −65Browse files

Showing the changes to include/uapi/linux (1 of 4 files). Show all

Unified · Split

include/uapi/linux/pidfd.h+1−1
@@ -12,7 +12,7 @@ · 11 unmodified lines
1212 #define PIDFD_THREAD O_EXCL
1313 #ifdef __KERNEL__
1414 #include <linux/sched.h>
15−#define PIDFD_CLONE CLONE_PIDFD
15+#define PIDFD_STALE CLONE_PIDFD
1616 #endif
1717
1818 /* Flags for pidfd_send_signal(). */