]> git.ipfire.org Git - thirdparty/systemd.git/commit
machined: watch leader PID's lifetime via pidfd 33424/head
authorLennart Poettering <lennart@poettering.net>
Mon, 27 May 2024 13:36:44 +0000 (15:36 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 20 Jun 2024 20:51:24 +0000 (22:51 +0200)
commit1762c2c045d3a78d3cad54c6b1e5ee9624b32b00
treed5c45cbccd6a8bcc4ec8c620b48dd3090e2fc93e
parent9b27811d49709b13f6255061089c9632572ee1ce
machined: watch leader PID's lifetime via pidfd

If we have a pidfd, we might as well track the machine's leader PID's
lifetime, and enqueue the machine for a GC run.

(This is similar to what we are already doing for logind's session
leaders)
src/machine/machine.c
src/machine/machine.h