Remove explicit kill of privsep preauth child's PID in SIGALRM handler.
authordtucker <dtucker@openbsd.org>
Tue, 1 Feb 2022 07:57:32 +0000 (07:57 +0000)
committerdtucker <dtucker@openbsd.org>
Tue, 1 Feb 2022 07:57:32 +0000 (07:57 +0000)
commita647a2ae98151be8e2465b47cac6090a18f05a12
treec34c39ac858c79de6efdbfed95b5389ab615b451
parentf21037fb31a97ab687fd459fba40bcca5336b831
Remove explicit kill of privsep preauth child's PID in SIGALRM handler.
It's no longer needed since the child will get terminated by the SIGTERM
to the process group that cleans up any auth helpers, it simplifies
the signal handler and removes the risk of a race when updating the PID.
Based on analysis by HerrSpace in github PR#289, ok djm@
usr.bin/ssh/sshd.c