Re: Patch: CLONE_PPID (was kernel thread support - LWP's)

Mike Shaver (shaver@mozilla.org)
Tue, 20 Jul 1999 20:05:05 -0400


Alan Curry wrote:
>
> Jeremy Fitzhardinge writes the following:
> >Any process can have children it doesn't know about creating, so this is not a
> >new situation. It doesn't seem worth adding cruft to prevent.
>
> Are you prepared to give an example?

Init creates pid 101
Pid 101 forks, creating pid 102
Pid 101 exits, SIGCHLD is delivered to init
Pid 102 is now reparented to be a child of init
Pid 102 exits, SIGCHLD is delivered to init

Dunno about ``any process'', though.

Mike

-- 
85615.81 82450.25

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/