]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
linux: Add CLONE_NEWTIME from Linux 5.6 to bits/sched.h
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 10 May 2022 16:59:48 +0000 (13:59 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 23 May 2022 20:49:18 +0000 (17:49 -0300)
It was added in commit 769071ac9f20b6a447410c7eaa55d1a5233ef40c.

sysdeps/unix/sysv/linux/bits/sched.h

index f13c569863a60006096fac7eb6eb487283132255..d79359eaeb4f11d37fdb1c1bf4e132b917d2d688 100644 (file)
 # define CLONE_NEWPID  0x20000000      /* New pid namespace.  */
 # define CLONE_NEWNET  0x40000000      /* New network namespace.  */
 # define CLONE_IO      0x80000000      /* Clone I/O context.  */
+
+/* cloning flags intersect with CSIGNAL so can be used only with unshare and
+   clone3 syscalls.  */
+#define CLONE_NEWTIME  0x00000080      /* New time namespace */
 #endif
 
 #include <bits/types/struct_sched_param.h>