diff options
author | Aditya Kali <adityakali@google.com> | 2016-01-29 03:54:05 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-02-16 13:04:58 -0500 |
commit | 5e2bec7c2248ae27c5b16cd97215ae05c1d39179 (patch) | |
tree | 3fd9e68e5ee7bdd11521ef645ff793b90a25290f | |
parent | 9f6df573a4041f896cbf51f1b3743494196620a7 (diff) |
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>
-rw-r--r-- | include/uapi/linux/sched.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/uapi/linux/sched.h b/include/uapi/linux/sched.h index cc89ddefa926..5f0fe019a720 100644 --- a/include/uapi/linux/sched.h +++ b/include/uapi/linux/sched.h | |||
@@ -21,8 +21,7 @@ | |||
21 | #define CLONE_DETACHED 0x00400000 /* Unused, ignored */ | 21 | #define CLONE_DETACHED 0x00400000 /* Unused, ignored */ |
22 | #define CLONE_UNTRACED 0x00800000 /* set if the tracing process can't force CLONE_PTRACE on this clone */ | 22 | #define CLONE_UNTRACED 0x00800000 /* set if the tracing process can't force CLONE_PTRACE on this clone */ |
23 | #define CLONE_CHILD_SETTID 0x01000000 /* set the TID in the child */ | 23 | #define CLONE_CHILD_SETTID 0x01000000 /* set the TID in the child */ |
24 | /* 0x02000000 was previously the unused CLONE_STOPPED (Start in stopped state) | 24 | #define CLONE_NEWCGROUP 0x02000000 /* New cgroup namespace */ |
25 | and is now available for re-use. */ | ||
26 | #define CLONE_NEWUTS 0x04000000 /* New utsname namespace */ | 25 | #define CLONE_NEWUTS 0x04000000 /* New utsname namespace */ |
27 | #define CLONE_NEWIPC 0x08000000 /* New ipc namespace */ | 26 | #define CLONE_NEWIPC 0x08000000 /* New ipc namespace */ |
28 | #define CLONE_NEWUSER 0x10000000 /* New user namespace */ | 27 | #define CLONE_NEWUSER 0x10000000 /* New user namespace */ |