]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: reference main/control pid of .service units via PidRef
authorLennart Poettering <lennart@poettering.net>
Sat, 9 Sep 2023 07:49:22 +0000 (09:49 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 9 Sep 2023 12:03:31 +0000 (14:03 +0200)
commitc79ab77cd31a718be88345565ba1657c36f7b880
tree38bb0cd082f1977430017083160c9b14f6797cf5
parent3bda3f17fa84557eeb28fa7c330cbd3a3f876d47
core: reference main/control pid of .service units via PidRef

The first conversion to PidRef. It's mostly an excercise of
search/replace, but with some special care taken for life-cycle (i.e. we
need to destroy the structure properly once done, to release the pidfd).

It also uses pidfd based killing for some of the killing but leaves most
as it is to make the conversion minimal.
src/core/dbus-service.c
src/core/service.c
src/core/service.h