[BusyBox] init does not kill reparented processes (MYSTERY SOLVED)

Ignacio García Pérez iggarpe at terra.es
Sat Aug 28 17:00:42 UTC 2004


> Sigh.  As you no doubt know, as a special case SIG_IGN for
> SIGCHLD means the signal isn't actually ignored, instead the
> kernel does automatic child reaping.  We used to do that, and
> then we received a fairly steady stream of bug reports about init
> deadlocking, so we reverted the SIGCHLD stuff.

Now that I realize, if then you set up a ignore handler for SIGCHLD, how the
heck do you wait for respawn process to terminate?. Shouldn't you instead
place a true handler that checks if the terminated child is a zombie o a
process controlled by init ?.

Regards.

Nacho.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.742 / Virus Database: 495 - Release Date: 19/08/2004




More information about the busybox mailing list