Change SIGCHLD handler to just set a flag.
authormillert <millert@openbsd.org>
Fri, 23 Aug 2024 00:43:34 +0000 (00:43 +0000)
committermillert <millert@openbsd.org>
Fri, 23 Aug 2024 00:43:34 +0000 (00:43 +0000)
commit0569e73d7d34e00fda6d0383249a5d2de9f174d4
tree2a584c0d2adb4a813025397e66d1ae6f0935458f
parent258a53ee77a0e818d882b972ff62224184ced46b
Change SIGCHLD handler to just set a flag.
We already call reap_kids() in multiple event loops so there is no
need to call waitpid() inside the handler itself.
OK denis@ deraadt@
usr.sbin/pppd/main.c