sd-event: do not update signal fd after PID is changed
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 8 Apr 2022 23:28:33 +0000 (08:28 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 12 Apr 2022 16:00:08 +0000 (01:00 +0900)
commit01e6af737494c9790edcc5521ea8c668565b797f
tree74bc93bc01f0a7b7bfaa4d85c590f121a32da2be
parent54988a27b9d1487e1690f94b79031ef61edd6651
sd-event: do not update signal fd after PID is changed

Otherwise, child event source will not work after the process is forked
and the event source is unref()ed on the child process.
src/libsystemd/sd-event/sd-event.c