[BusyBox] Init
Vladimir N. Oleynik
dzo at simtreas.ru
Sat Aug 24 08:00:04 UTC 2002
Thomas,
> On Sat, 2002-08-24 at 12:54, Vladimir N. Oleynik wrote:
> > Have tou this problem with development version busybox?
>
> Tried actual CVS and problem is the same.
> Default is SIG_DFL and this is not the same as SIG_IGN.
Realy? :)
SIG_DLF killing process.
> 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.
Init wait all own childs (after fork). If not -
this bug and require find it.
Init must not wait other child.
If child with ppid=1 want set as daemon, this programm must call
fork()+sitsid().
--w
vodz
More information about the busybox
mailing list