Skip to content

Commit 5e2bec7

Browse files
adityakalihtejun
authored andcommitted
sched: new clone flag CLONE_NEWCGROUP for cgroup namespace
CLONE_NEWCGROUP will be used to create new cgroup namespace. Signed-off-by: Aditya Kali <adityakali@google.com> Signed-off-by: Serge Hallyn <serge.hallyn@canonical.com> Signed-off-by: Tejun Heo <tj@kernel.org>
1 parent 9f6df57 commit 5e2bec7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

include/uapi/linux/sched.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
#define CLONE_DETACHED 0x00400000 /* Unused, ignored */
2222
#define CLONE_UNTRACED 0x00800000 /* set if the tracing process can't force CLONE_PTRACE on this clone */
2323
#define CLONE_CHILD_SETTID 0x01000000 /* set the TID in the child */
24-
/* 0x02000000 was previously the unused CLONE_STOPPED (Start in stopped state)
25-
and is now available for re-use. */
24+
#define CLONE_NEWCGROUP 0x02000000 /* New cgroup namespace */
2625
#define CLONE_NEWUTS 0x04000000 /* New utsname namespace */
2726
#define CLONE_NEWIPC 0x08000000 /* New ipc namespace */
2827
#define CLONE_NEWUSER 0x10000000 /* New user namespace */

0 commit comments

Comments
 (0)