]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/machine/machined-dbus.c
machined: always look for leader PID first
authorLennart Poettering <lennart@poettering.net>
Sun, 23 Aug 2015 12:04:31 +0000 (14:04 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 24 Aug 2015 20:46:45 +0000 (22:46 +0200)
commit077c8c366b58222629ed953abf2faa74ebadb769
tree532b3ee16c3889bcd5ea18591ac4e4ca6d0681c8
parentc454426c54c9beb274f415a80c64a4f1580700e7
machined: always look for leader PID first

When looking for the machine belonging to a PID, always look for the
leader first, only then fall back to a cgroup check. We keep direct
track of the leader PID, but only indirectly of the cgroup, hence prefer
the PID.
src/machine/machined-dbus.c