[lxc-devel] [lxc/lxc] 8d961e: cgroups: don't escape if we're not real root

GitHub noreply at github.com
Tue Mar 13 16:14:16 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 8d961e28f1d759669b477a659cbb694aaa2af915
      https://github.com/lxc/lxc/commit/8d961e28f1d759669b477a659cbb694aaa2af915
  Author: Tycho Andersen <tycho at tycho.ws>
  Date:   2018-03-13 (Tue, 13 Mar 2018)

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

  Log Message:
  -----------
  cgroups: don't escape if we're not real root

If we're host unpriv but root in our userns, we can't really escape
cgroups. Let's switch the cgroup escape test to reflect this.

Signed-off-by: Tycho Andersen <tycho at tycho.ws>


  Commit: f432873366a319cee4ded0c5348cd4ff94b3065c
      https://github.com/lxc/lxc/commit/f432873366a319cee4ded0c5348cd4ff94b3065c
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-03-13 (Tue, 13 Mar 2018)

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

  Log Message:
  -----------
  Merge pull request #2212 from tych0/cgroup-escape-host-unpriv

cgroups: don't escape if we're not real root


Compare: https://github.com/lxc/lxc/compare/e3bc3b864567...f432873366a3


More information about the lxc-devel mailing list