Changed paths:
M fs.c
Log Message:
-----------
Make unified hierarchy mountable on 4.5.0+ kernels
Starting from kernel 4.5.0 the unified hierarchy is accessible via a
separate "cgroup2" file system type.
The same kernel version also removed the ability to mount it via a
"__DEVEL__sane_behavior" option provided to the "cgroup" file system type.
Adapt to these changes by first trying to mount the "cgroup2" file system,
then, if this file system type is not known, by trying to mount the unified
hierarchy the old way via the "__DEVEL__sane_behavior" mount option.
Signed-off-by: Maciej S. Szmigiero <ma...@maciej.szmigiero.name>
Commit: 8f599b54c8021f37c1eeb7394a30b9e5fd0870f9
https://github.com/lxc/cgmanager/commit/8f599b54c8021f37c1eeb7394a30b9e5fd0870f9
Author: Serge Hallyn <se...@hallyn.com>
Date: 2017-11-07 (Tue, 07 Nov 2017)
Changed paths:
M fs.c
Log Message:
-----------
Merge pull request #35 from maciejsszmigiero/kernel-4.5-unified-fix
Make unified hierarchy mountable on 4.5.0+ kernels
Compare: https://github.com/lxc/cgmanager/compare/4435deaa3f9f...8f599b54c802