Re: [PATCHv3 7/8] cgroup: mount cgroupns-root when inside non-init cgroupns

2014-12-12 Thread Zefan Li
On 2014/12/5 9:55, Aditya Kali wrote: > This patch enables cgroup mounting inside userns when a process > as appropriate privileges. The cgroup filesystem mounted is s/as/has > rooted at the cgroupns-root. Thus, in a container-setup, only > the hierarchy under the cgroupns-root is exposed inside

Re: [PATCHv3 7/8] cgroup: mount cgroupns-root when inside non-init cgroupns

2014-12-12 Thread Zefan Li
On 2014/12/5 9:55, Aditya Kali wrote: This patch enables cgroup mounting inside userns when a process as appropriate privileges. The cgroup filesystem mounted is s/as/has rooted at the cgroupns-root. Thus, in a container-setup, only the hierarchy under the cgroupns-root is exposed inside the

[PATCHv3 7/8] cgroup: mount cgroupns-root when inside non-init cgroupns

2014-12-04 Thread Aditya Kali
This patch enables cgroup mounting inside userns when a process as appropriate privileges. The cgroup filesystem mounted is rooted at the cgroupns-root. Thus, in a container-setup, only the hierarchy under the cgroupns-root is exposed inside the container. This allows container management tools to

[PATCHv3 7/8] cgroup: mount cgroupns-root when inside non-init cgroupns

2014-12-04 Thread Aditya Kali
This patch enables cgroup mounting inside userns when a process as appropriate privileges. The cgroup filesystem mounted is rooted at the cgroupns-root. Thus, in a container-setup, only the hierarchy under the cgroupns-root is exposed inside the container. This allows container management tools to