]> git.ipfire.org Git - thirdparty/systemd.git/commit
machined: call pidref_verify() in some cases this was missing
authorLennart Poettering <lennart@poettering.net>
Wed, 21 May 2025 07:20:44 +0000 (09:20 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 21 May 2025 17:38:38 +0000 (02:38 +0900)
commit3c70cbae0ff15d3dc5877173015187db81e004be
tree9813df6294f383897b8a66bd231b010b1c96376b
parentacca52ab246a0d0b2d36648aee862d44082a8363
machined: call pidref_verify() in some cases this was missing

We need to protect us from recycled PIDs here like everywhere else: once
we read data from /proc/$PID/ we need to validate that $PID still points
to the original pidfd.
src/machine/machine.c