]> git.ipfire.org Git - thirdparty/lxc.git/commit
cgfs: skip empty entries under /proc/self/cgroup
authorChristian Brauner <christian.brauner@canonical.com>
Sun, 30 Oct 2016 12:42:37 +0000 (13:42 +0100)
committerStéphane Graber <stgraber@ubuntu.com>
Fri, 18 Nov 2016 01:33:41 +0000 (20:33 -0500)
commit2ca5963c28a4f7b9149586c7490d5bc534506e95
tree55acfeb2ef2f66b1e245d580d5e7e8499f00b157
parent75fe639827f94ad966cdb3f3b79c7b27c7e8c7fd
cgfs: skip empty entries under /proc/self/cgroup

If cgroupv2 is enabled either alone or together with legacy hierarchies
/proc/self/cgroup can contain entries of the form:

        0::/

These entries need to be skipped.

Signed-off-by: Christian Brauner <christian.brauner@canonical.com>
src/lxc/cgfs.c