Commit c0be940b authored by Tycho Andersen's avatar Tycho Andersen Committed by Pavel Emelyanov

cgroup: nested cgroups aren't really supported

After some discussion with Serge Hallyn, it seems that the current
implementation of cgroup namespaces doesn't really support nesting. It's
not a quick fix, so let's disable this for now (not that it matters, since
probably nobody is nesting these anyways right now :)
Signed-off-by: 's avatarTycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent f8a06e7a
......@@ -11,7 +11,7 @@
#endif
/* Nested namespaces are supported only for these types */
#define CLONE_SUBNS (CLONE_NEWNS | CLONE_NEWCGROUP)
#define CLONE_SUBNS (CLONE_NEWNS)
struct ns_desc {
unsigned int cflag;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment