aboutsummaryrefslogtreecommitdiff
path: root/src/supervise-daemon/supervise-daemon.c
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2023-01-28 18:45:13 +0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2023-04-24 19:20:19 -0500
commit0b4732520fbe50445cd05df58c7475659ee0a6f3 (patch)
treef0c85b195239d5c82d8951ef08214b43f1833b48 /src/supervise-daemon/supervise-daemon.c
parentbbd3acfc678a891b9ec2b021ad9f745c34e554f7 (diff)
rc: block SIGCHLD during pid list operations
the pid list will be accessed inside the SIGCHLD signal handler. so we must ensure SIGCHLD handler doesn't get invoked while the list is at an inconsistent state making it unsafe to interact with. Co-authored-by: Dominique MARTINET <dominique.martinet@atmark-techno.com> Bug: https://github.com/OpenRC/openrc/issues/589#issuecomment-1406588576
Diffstat (limited to 'src/supervise-daemon/supervise-daemon.c')
0 files changed, 0 insertions, 0 deletions