> On Fri, 8 Jan 1999, Linus Torvalds wrote:
>
> > > Make sure that the parent hasn't gone away in the meanwhile.
> >
> > It cannot - even if the parent goes away, p_pptr will just point to
> > another valid parent (ie init) instead. So it should always be safe to do
> > a "wakeup(¤t->p_opptr->sleep)"
>
> Ah, I see, this being how init "inherits" tasks that lose their parent.
> Very clean.
Well, it seems to mean that init can't safely use vfork.
Not a great loss, but you need to know that.
MfG Kai
-
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/