chiark / gitweb /
core/mount-setup: if unified hierarchy is not supported, fall back to legacy
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 19 Feb 2017 20:59:21 +0000 (15:59 -0500)
committerSven Eden <yamakuzure@gmx.net>
Mon, 17 Jul 2017 15:58:36 +0000 (17:58 +0200)
commitd2fee9031f20cefd32465836193982f5382baebc
tree94f426de692e858afc92bd8b57110fa4890e7e52
parent98b626ac20d3f24be8a5f3755db8f1e7b611bad4
core/mount-setup: if unified hierarchy is not supported, fall back to legacy

We need this to gracefully support older or strangely configured kernels.

v2:
- do not install a callback handler, just embed the right conditions into
  cg_is_*_wanted()

v3:
- fix bug in cg_is_legacy_wanted()
src/basic/cgroup-util.c
src/core/mount-setup.c