lib: support the new pidfd based APIs

Try to make API requests using the new pidfd based APIs. If getting
the pidfds fails or if the remote (daemon) does not support the new
pidfd based D-Bus API, transparently fall back to the old API.
This commit is contained in:
Christian Kellner
2019-10-04 19:04:15 +02:00
parent b84d673aae
commit 6f7df91b60
2 changed files with 124 additions and 26 deletions

View File

@ -12,6 +12,7 @@ gamemode = shared_library(
'client_impl.c',
],
dependencies: [
link_lib_common,
dep_dbus,
],
install: true,