• Linus Torvalds's avatar
    Merge branch 'for-4.6-ns' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup · 5518f66b
    Linus Torvalds authored
    Pull cgroup namespace support from Tejun Heo:
     "These are changes to implement namespace support for cgroup which has
      been pending for quite some time now.  It is very straight-forward and
      only affects what part of cgroup hierarchies are visible.
    
      After unsharing, mounting a cgroup fs will be scoped to the cgroups
      the task belonged to at the time of unsharing and the cgroup paths
      exposed to userland would be adjusted accordingly"
    
    * 'for-4.6-ns' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup:
      cgroup: fix and restructure error handling in copy_cgroup_ns()
      cgroup: fix alloc_cgroup_ns() error handling in copy_cgroup_ns()
      Add FS_USERNS_FLAG to cgroup fs
      cgroup: Add documentation for cgroup namespaces
      cgroup: mount cgroupns-root when inside non-init cgroupns
      kernfs: define kernfs_node_dentry
      cgroup: cgroup namespace setns support
      cgroup: introduce cgroup namespaces
      sched: new clone flag CLONE_NEWCGROUP for cgroup namespace
      kernfs: Add API to generate relative kernfs path
    5518f66b
cgroup.c 172 KB