diff options
| author | Roy Marples <roy@marples.name> | 2020-08-20 16:28:47 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-08-20 16:28:47 +0100 |
| commit | 2d18b2a25e2e95595ff7b643d2a2754540549e3d (patch) | |
| tree | 736348035fa69ab8f98a919aedd8185728fcd659 /src/privsep.c | |
| parent | 684895a84c40b4484c7e0d7ce555f7154d8e6d22 (diff) | |
| download | dhcpcd-2d18b2a25e2e95595ff7b643d2a2754540549e3d.tar.xz | |
privsep: Only the master process accepts signals
The master process dictates when processes should stop, which
allows for a clean shutdown when the admin issues `pkill dhcpcd`.
Diffstat (limited to 'src/privsep.c')
| -rw-r--r-- | src/privsep.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/privsep.c b/src/privsep.c index c5e89baf..aa5cd9ab 100644 --- a/src/privsep.c +++ b/src/privsep.c @@ -34,6 +34,7 @@ * Spawn an unpriv process to send/receive common network data. * Then drop all privs and start running. * Every process aside from the privileged actioneer is chrooted. + * All privsep processes ignore signals - only the master process accepts them. * * dhcpcd will maintain the config file in the chroot, no need to handle * this in a script or something. |
