[cgmanager-devel] [lxc/cgmanager] 10b4d9: fix handling of /system.slice/cgproxy

GitHub noreply at github.com
Thu Sep 3 03:27:02 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/lxc/cgmanager
  Commit: 10b4d90fdabf8888ec73d1a3b7d200b97efbe280
      https://github.com/lxc/cgmanager/commit/10b4d90fdabf8888ec73d1a3b7d200b97efbe280
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2015-09-02 (Wed, 02 Sep 2015)

  Changed paths:
    M cgmanager.c
    M fs.c
    M fs.h

  Log Message:
  -----------
  fix handling of /system.slice/cgproxy

First, only check for /system.slice/cgproxy for the actual proxy, not for
the requestor.

Secondly, we *do* need to check for /system.slice/cgproxy when checking
whether a requested path is under the proxy's path.

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: 1b5b1c898a8cf134e24f10e3f57e4c35876a08e8
      https://github.com/lxc/cgmanager/commit/1b5b1c898a8cf134e24f10e3f57e4c35876a08e8
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2015-09-02 (Wed, 02 Sep 2015)

  Changed paths:
    M cgmanager-proxy.c
    M cgmanager.c
    M fs.c
    M fs.h

  Log Message:
  -----------
  cgproxy: turn /sys/fs/cgroup rw if needed

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


Compare: https://github.com/lxc/cgmanager/compare/be4733fad148...1b5b1c898a8c


More information about the cgmanager-devel mailing list