sched.h: add CLONE_PIDFD from linux v5.2
authorSzabolcs Nagy <nsz@port70.net>
Mon, 12 Aug 2019 17:57:42 +0000 (17:57 +0000)
committerRich Felker <dalias@aerifal.cx>
Wed, 11 Sep 2019 14:40:04 +0000 (10:40 -0400)
when set a pidfd is stored in parent_tidptr, see

  linux commit b3e5838252665ee4cfa76b82bdf1198dca81e5be
  clone: add CLONE_PIDFD

include/sched.h

index 674bad7fefcf8c560df9869f18737a2cac7daac9..7e470d3a133ffdb19e0f05cb48627acbda345f08 100644 (file)
@@ -49,6 +49,7 @@ int     sched_yield(void);
 #define CLONE_FS       0x00000200
 #define CLONE_FILES    0x00000400
 #define CLONE_SIGHAND  0x00000800
+#define CLONE_PIDFD    0x00001000
 #define CLONE_PTRACE   0x00002000
 #define CLONE_VFORK    0x00004000
 #define CLONE_PARENT   0x00008000