]> git.ipfire.org Git - thirdparty/systemd.git/commit
pidref: Add pidref_wait_for_terminate_full()
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 19 Nov 2025 13:28:49 +0000 (14:28 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 20 Dec 2025 14:49:26 +0000 (15:49 +0100)
commite74b571004661ff39fbcbddfe0cbf36d2fda0046
tree25b557866df6d46dde9088b7f086dcad03e343fd
parent9bd833ee6eacb349a742a690a8024b7b05b9680c
pidref: Add pidref_wait_for_terminate_full()

We can use this to replace wait_for_terminate_with_timeout(). Because
we poll a pidfd, we don't need to block SIGCHLD anymore in umount.c.
src/basic/pidref.c
src/basic/pidref.h
src/basic/process-util.c
src/basic/process-util.h
src/core/socket.c
src/home/homed-home.c
src/shutdown/shutdown.c
src/shutdown/umount.c
src/test/test-pidref.c