]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/start.c
encapsulate the ns_cgroup
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)
commit36b862992a8e685534774a59793fb5c5bad46fae
treed5f8d11981942a069128ea588cebdbffd89badca
parentb234e44fdfb03ebb29f9bcb121d83e25b5a49800
encapsulate the ns_cgroup

Create a single API to create a cgroup which will switch to the old
ns_cgroup automatically.

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