]> sourceware.org Git - glibc.git/commitdiff
Add CLONE_NEWCGROUP from Linux 4.6 to bits/sched.h.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 18 May 2016 17:46:52 +0000 (17:46 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 18 May 2016 17:46:52 +0000 (17:46 +0000)
This patch adds CLONE_NEWCGROUP, new in Linux 4.6, to
sysdeps/unix/sysv/linux/bits/sched.h.

Tested for x86_64 and x86 (testsuite, and that installed stripped
shared libraries are unchanged by the patch).

* sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
(CLONE_NEWCGROUP): New macro.

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

index 6d4143d3eb167f18c42bcf0c1cd92e5fa74be207..ee3cb0e1b397dc4cf9e0528258f182796b3a7334 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
 
+       * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
+       (CLONE_NEWCGROUP): New macro.
+
        * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
        (Q_GETNEXTQUOTA): New macro.
 
index 4f5305a095480fe7ddd779607197ad0f6ccf9a07..5da263f9d4f0905fb6a3eeb4f186f4fd7e6ced13 100644 (file)
@@ -60,6 +60,7 @@
                                      force CLONE_PTRACE on this clone.  */
 # define CLONE_CHILD_SETTID 0x01000000 /* Store TID in userlevel buffer in
                                          the child.  */
+# define CLONE_NEWCGROUP    0x02000000 /* New cgroup namespace.  */
 # define CLONE_NEWUTS  0x04000000      /* New utsname group.  */
 # define CLONE_NEWIPC  0x08000000      /* New ipcs.  */
 # define CLONE_NEWUSER 0x10000000      /* New user namespace.  */
This page took 0.192429 seconds and 5 git commands to generate.