chiark / gitweb /
cgroup: rework cg_all_unified()
authorLennart Poettering <lennart@poettering.net>
Fri, 24 Feb 2017 17:05:31 +0000 (18:05 +0100)
committerSven Eden <yamakuzure@gmx.net>
Mon, 17 Jul 2017 15:58:36 +0000 (17:58 +0200)
commita1002c6e2e7933c03aa4f49bdbce31e246ab589d
treebebbb4809ae1e06d2a38f4899b14f76995ad36be
parentc0e8baacdbcf4cee407eb0c50c6fbb7e4e089158
cgroup: rework cg_all_unified()

Let's just check the unified level, directly. There's really no value in
wrapping cg_unified_controllers() with this, i.e. potentially do string
comparison when there's no reason to.

Also, this makes the clal more alike cg_hybrid_unified().
src/basic/cgroup-util.c