summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2019-08-12 17:57:42 +0000
committerRich Felker <dalias@aerifal.cx>2019-09-11 10:40:04 -0400
commit1e22eb2e8f6e778c72655e420c7fb4acf8170f49 (patch)
treeb024f38e76684249a2aa5470561f811661140ec5 /include
parentb5134ccd4d40b0446aa21a42186deb4b6cee0a8f (diff)
downloadmusl-1e22eb2e8f6e778c72655e420c7fb4acf8170f49.tar.gz
musl-1e22eb2e8f6e778c72655e420c7fb4acf8170f49.tar.bz2
musl-1e22eb2e8f6e778c72655e420c7fb4acf8170f49.tar.xz
musl-1e22eb2e8f6e778c72655e420c7fb4acf8170f49.zip
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
Diffstat (limited to 'include')
-rw-r--r--include/sched.h1
1 files changed, 1 insertions, 0 deletions
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