]> git.ipfire.org Git - thirdparty/systemd.git/commit
cgroup-util: add cg_path_get_unit_full() helper and related calls
authorLennart Poettering <lennart@poettering.net>
Wed, 21 May 2025 15:21:36 +0000 (17:21 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 11 Jul 2025 16:15:08 +0000 (18:15 +0200)
commit7bb1147b009772c96250e5fef93b96b7023fa36c
tree5d44984429577f9faf735583295594501bbd40a6
parent571867ffa76c7829d3901386aa43294852a0363c
cgroup-util: add cg_path_get_unit_full() helper and related calls

This helper returns not only the unit a cgroup belongs to, but also the
cgroup sub-path beyond it.
src/basic/cgroup-util.c
src/basic/cgroup-util.h
src/test/test-cgroup-util.c