[BusyBox] Init

Vladimir N. Oleynik dzo at simtreas.ru
Sat Aug 24 08:56:03 UTC 2002


Thomas,

> > Init wait all own childs (after fork). If not -
> > this bug and require find it.
> That's working correct. There is no bug .

> linux/kernel/signal.c
> 
> * Note the silly behaviour of SIGCHLD: SIG_IGN means that the
> * signal isn't actually ignored, but does automatic child
> * reaping, while SIG_DFL is explicitly said by POSIX to force
> * the signal to be ignored.
> */

Ok. Ok. Linux is not Unix. For use lazy programmers ;)

> > Init must not wait other child.
> It must, because it get's new children without knowing of them. :)

Kernel can`t save all chain ppid (else - have memory leak).
Linux set ppid to 1 if parents dies without wait children? 
Hmm. Interesting.
But ... This systen can`t have zombie witch human time tracing! ;)


--w
vodz



More information about the busybox mailing list