aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-05-18 17:46:52 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-05-18 17:46:52 +0000
commit48526672b61d8cf65ac7aba40053a81498183104 (patch)
tree69693266a277ae7c761f4fb2a1f50adad15b42b5 /sysdeps
parent2a1aa528244714587f7726a8f4561cd05682f0a7 (diff)
downloadglibc-48526672b61d8cf65ac7aba40053a81498183104.tar
glibc-48526672b61d8cf65ac7aba40053a81498183104.tar.gz
glibc-48526672b61d8cf65ac7aba40053a81498183104.tar.bz2
glibc-48526672b61d8cf65ac7aba40053a81498183104.zip
Add CLONE_NEWCGROUP from Linux 4.6 to bits/sched.h.
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.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/bits/sched.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/sched.h b/sysdeps/unix/sysv/linux/bits/sched.h
index 4f5305a095..5da263f9d4 100644
--- a/sysdeps/unix/sysv/linux/bits/sched.h
+++ b/sysdeps/unix/sysv/linux/bits/sched.h
@@ -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. */