Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5e2bec7c authored by Aditya Kali's avatar Aditya Kali Committed by Tejun Heo
Browse files

sched: new clone flag CLONE_NEWCGROUP for cgroup namespace



CLONE_NEWCGROUP will be used to create new cgroup namespace.

Signed-off-by: default avatarAditya Kali <adityakali@google.com>
Signed-off-by: default avatarSerge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 9f6df573
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -21,8 +21,7 @@
#define CLONE_DETACHED		0x00400000	/* Unused, ignored */
#define CLONE_DETACHED		0x00400000	/* Unused, ignored */
#define CLONE_UNTRACED		0x00800000	/* set if the tracing process can't force CLONE_PTRACE on this clone */
#define CLONE_UNTRACED		0x00800000	/* set if the tracing process can't force CLONE_PTRACE on this clone */
#define CLONE_CHILD_SETTID	0x01000000	/* set the TID in the child */
#define CLONE_CHILD_SETTID	0x01000000	/* set the TID in the child */
/* 0x02000000 was previously the unused CLONE_STOPPED (Start in stopped state)
#define CLONE_NEWCGROUP		0x02000000	/* New cgroup namespace */
   and is now available for re-use. */
#define CLONE_NEWUTS		0x04000000	/* New utsname namespace */
#define CLONE_NEWUTS		0x04000000	/* New utsname namespace */
#define CLONE_NEWIPC		0x08000000	/* New ipc namespace */
#define CLONE_NEWIPC		0x08000000	/* New ipc namespace */
#define CLONE_NEWUSER		0x10000000	/* New user namespace */
#define CLONE_NEWUSER		0x10000000	/* New user namespace */