]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: add a new GetUnitByControlGroup() bus call
authorLennart Poettering <lennart@poettering.net>
Wed, 25 Apr 2018 11:34:47 +0000 (13:34 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 25 Apr 2018 11:43:48 +0000 (13:43 +0200)
commit267dd427da9f7a215db772a9ac82656dcae683fb
treef351fb4f85996426180d5b6df064cd9d9eb89b65
parent04b56d9d9c38993e00f90cf13884a3685917d0ce
core: add a new GetUnitByControlGroup() bus call

This is useful for foreign container runtimes implementing the OCI
runtime spec, which only wants to deal with cgroup paths. There's
already an API to translate units into cgroup paths, with this we add
the reverse.
src/core/dbus-manager.c
src/core/org.freedesktop.systemd1.conf