Re: init's children list is long and slows reaping children.

Eric W. Biederman
2007-04-11T20:18:22Z

Bill Davidsen <davidsen@tmr.com> writes:

> As long as the original parent is preserved for getppid(). There are programs
> out there which communicate between the parent and child with signals, and if
> the original parent dies, it undesirable to have the child getppid() and start
> sending signals to a program not expecting them. Invites undefined behavior.

Then the programs are broken. getppid is defined to change if the process
is reparented to init.

Eric