]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/nspawn/nspawn.c
basic/cgroup-util: let cgroup_unified_flush() return the detected hierarchy
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 1 Aug 2019 10:48:41 +0000 (12:48 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 16 Sep 2019 16:06:20 +0000 (18:06 +0200)
commitd4d99bc6e4d90da335c62c7a75a2a12e44b428a6
treea295cb23628a393f4ea4f41300c1a51721867d4b
parent5a1c1b534fe13e60ef9bce0dc680ad6f2a0c577f
basic/cgroup-util: let cgroup_unified_flush() return the detected hierarchy

This avoid the use of the global variable.

Also rename cgroup_unified_update() to cgroup_unified_cached() and
cgroup_unified_flush() to cgroup_unified() to better reflect their new roles.
src/basic/cgroup-util.c
src/basic/cgroup-util.h
src/core/cgroup.c
src/libsystemd/sd-bus/test-bus-creds.c
src/nspawn/nspawn.c
src/test/test-cgroup-util.c
src/test/test-condition.c