dbus-unit: make sure GetProcesses() D-Bus call internally uses pidfd
authorLennart Poettering <lennart@poettering.net>
Mon, 16 Oct 2023 21:18:37 +0000 (23:18 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 18 Oct 2023 12:39:33 +0000 (14:39 +0200)
commitd57d521caec3a135c71b500ada51bd29649870c4
tree55502e264fd8dc99a7299bf460037273b6616a20
parentfc87713bedbc96d21b89e63acb9158c4f9363d17
dbus-unit: make sure GetProcesses() D-Bus call internally uses pidfd

This way we can be sure to provide an atomic view of the process tree of
a unit.
src/core/dbus-unit.c