>From c9df1957cd87e195fe0939fbea98b4415d3d28f8 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Mon, 12 Aug 2019 17:57:42 +0000 Subject: [PATCH 2/6] sched.h: add CLONE_PIDFD from linux v5.2 when set a pidfd is stored in parent_tidptr, see linux commit b3e5838252665ee4cfa76b82bdf1198dca81e5be clone: add CLONE_PIDFD --- include/sched.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/sched.h b/include/sched.h index 674bad7f..7e470d3a 100644 --- a/include/sched.h +++ b/include/sched.h @@ -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 -- 2.21.0