[BusyBox] Init

Thomas Gleixner tglx at linutronix.de
Sat Aug 24 07:30:03 UTC 2002


On Sat, 2002-08-24 at 12:54, Vladimir N. Oleynik wrote:
> Have tou this problem with development version busybox?
Vladimir,

Tried actual CVS and problem is the same. 
Default is SIG_DFL and this is not the same as SIG_IGN.
SIG_DFL zombies a process and wait's until parent calls waitpid / wait3
/ wait4. It just delivers no signal to the parent thread.
If you set SIG_IGN the kernel removes this thread immidiatly from the
process list. As orphaned threads get parent process ID 1 (init) when
they are orphaned, they are not caught by a waitpid in one of init's
forks. Should be the same with daemons.

-- 
Thomas 
____________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx at linutronix.de




More information about the busybox mailing list