[lxc-devel] [lxc/lxc] 0e1735: cgroups/cgfsng: adapt to new cgroup2 delegation

GitHub noreply at github.com
Sat Nov 11 00:54:28 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 0e17357c37c79323b067f42258b863e3dbb6c18a
      https://github.com/lxc/lxc/commit/0e17357c37c79323b067f42258b863e3dbb6c18a
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-11-08 (Wed, 08 Nov 2017)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  cgroups/cgfsng: adapt to new cgroup2 delegation

In order to enable proper unprivileged cgroup delegation on newer kernels we not
just need to delegate the "cgroup.procs" file but also "cgroup.threads". But
don't report an error in case it doesn't exist. Also delegate
"cgroup.subtree_control" to enable delegation of controllers to descendant
cgroups.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: ed18666164cc7402cd0b14628199144faf5ce7a8
      https://github.com/lxc/lxc/commit/ed18666164cc7402cd0b14628199144faf5ce7a8
  Author: Serge Hallyn <serge at hallyn.com>
  Date:   2017-11-10 (Fri, 10 Nov 2017)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  Merge pull request #1907 from brauner/2017-11-08/cgfsng

cgroups/cgfsng: adapt to new cgroup2 delegation


Compare: https://github.com/lxc/lxc/compare/94b308f72a69...ed18666164cc


More information about the lxc-devel mailing list