]> git.ipfire.org Git - thirdparty/systemd.git/commit
basic/cgroup-util: introduce cg_get_keyed_attribute_full()
authorMichal Sekletár <msekleta@redhat.com>
Wed, 29 Apr 2020 15:40:22 +0000 (17:40 +0200)
committerMichal Sekletár <msekleta@redhat.com>
Wed, 29 Apr 2020 16:41:19 +0000 (18:41 +0200)
commit25a1f04c682260bb9b96e25bdf33665d6172db98
tree9ea98ff81b8f11fb30bf204f0e563b7b4abb1164
parent08deac6e3e9119aeb966375f94695e4aa14ffb1c
basic/cgroup-util: introduce cg_get_keyed_attribute_full()

Callers of cg_get_keyed_attribute_full() can now specify via the flag whether the
missing keyes in cgroup attribute file are OK or not. Also the wrappers for both
strict and graceful version are provided.
src/basic/cgroup-util.c
src/basic/cgroup-util.h
src/test/test-cgroup-util.c