mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-12 04:00:17 +00:00
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.
This commit is contained in:
parent
2a1aa52824
commit
48526672b6
@ -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.
|
||||
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user