diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-02-22 12:57:43 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-02-22 12:57:43 -0500 |
commit | 239a3d09547a32c21e9b9b22499991781c15438e (patch) | |
tree | 182de5577b648b668bdf9649050a9cc29bcd500b /src/core/dbus-target.h | |
parent | 770c4777c92c2c2b5763348135719478f36c3616 (diff) |
cgroup-util: cache all cg_is_*_wanted answers, disable /sys/fs/cgroups/unified on unified
If we encounter an error in proc cmdline parsing, just treat that as permanent,
i.e. the same as if the option was not specified. Realistically, it is better
to use the same condition for all related mounts, then to have e.g.
/sys/fs/cgroup mounted and /sys/fs/cgroup/unified not. If we find something is
mounted and base our answer on that, cache that result too.
Fix the conditions so that if "unified" is used, make sure any "hybrid" mounts
are not mounted.
Diffstat (limited to 'src/core/dbus-target.h')
0 files changed, 0 insertions, 0 deletions