]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-event: always operate on child source via pidfd 36480/head
authorMike Yuan <me@yhndnzj.com>
Tue, 18 Feb 2025 15:49:05 +0000 (16:49 +0100)
committerMike Yuan <me@yhndnzj.com>
Fri, 21 Feb 2025 17:08:55 +0000 (18:08 +0100)
commitc6cc7efcd35f729cf0db8f8502752c7d83a0be95
tree9b34736a35507cb56aaac16261c19d5729c9ea2b
parent4f63673482000c06478d3dd655415f8348928723
sd-event: always operate on child source via pidfd

Follow-up for 6e14c46bac760d01868b0bf48461f6ac44c86be3

Nowadays a pidfd is guarenteed to be around for child
event sources, hence drop the effectively unused pid-based
branches.

Addresses https://github.com/systemd/systemd/pull/36410#discussion_r1959930716
man/sd_event_add_child.xml
src/libsystemd/sd-event/sd-event.c