]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/cgroups/cgfs.c
use clone_children cgroup's flag
authorDaniel Lezcano <daniel.lezcano@free.fr>
Fri, 17 Dec 2010 10:43:37 +0000 (11:43 +0100)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Fri, 17 Dec 2010 10:43:37 +0000 (11:43 +0100)
commitfd4f5a5688e511554ddd1f3fdbf1f05264b5b483
tree00045c489d6b5106432702aee89eb55697f54b08
parentef342abb22c1354b3523ce3c46e613e13ab79399
use clone_children cgroup's flag

If the ns_cgroup does not exist, we use the clone_children feature.
Everytime a cgroup is created, we set this compatibility flag and we create
the cgroup manually and add the child task to the cgroup.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/cgroup.c