lkml.org 
[lkml]   [1999]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Patch: CLONE_PPID (was kernel thread support - LWP's)
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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:4.321 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site