about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2020-03-31 20:42:14 +0000
committerRich Felker <dalias@aerifal.cx>2020-09-09 17:20:34 -0400
commit43b640c2ff30bef9c943a8222008f4bd6f6cbaf6 (patch)
tree100b764aea9b54a35661276e9c6c7db95f7ef850 /include
parent3da18e6951076079e0cd8efe9db2f2fdbc049286 (diff)
downloadmusl-43b640c2ff30bef9c943a8222008f4bd6f6cbaf6.tar.gz
musl-43b640c2ff30bef9c943a8222008f4bd6f6cbaf6.tar.xz
musl-43b640c2ff30bef9c943a8222008f4bd6f6cbaf6.zip
sched.h: add CLONE_NEWTIME from linux v5.6
reuses a bit from CSIGNAL so it can only be used with unshare
and clone3, added in

  linux commit 769071ac9f20b6a447410c7eaa55d1a5233ef40c
  ns: Introduce Time Namespace
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 822f464e..fda4b484 100644
--- a/include/sched.h
+++ b/include/sched.h
@@ -49,6 +49,7 @@ int     sched_yield(void);
 
 #ifdef _GNU_SOURCE
 #define CSIGNAL		0x000000ff
+#define CLONE_NEWTIME	0x00000080
 #define CLONE_VM	0x00000100
 #define CLONE_FS	0x00000200
 #define CLONE_FILES	0x00000400