[BusyBox] Init does not always reap child processes

Mike Frysinger vapier at gentoo.org
Fri Jul 29 15:37:08 UTC 2005


On Friday 29 July 2005 11:02 am, Jason Schoon wrote:
> My fix was to enable SIGCHLD handling while in a wait action, and then
> disable it again upon leaving the wait action.  The child handler
> simply does a waitpid() without hanging around.

i thought if you set the handler for SIGCHLD to SIG_IGN the zombies are taken 
care of for you so you dont have to screw around with waitpid ... or am i 
thinking of someone else ?
-mike



More information about the busybox mailing list