Subject: Re: stopping childs (patch included)
To: Emmanuel Dreyfus <manu@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 11/30/2002 11:44:25
On Sat, Nov 30, 2002 at 12:23:13PM +0100, Emmanuel Dreyfus wrote:
> > It would surely be better to do this much earlier (eg when the
> > other p_flags are set). The simpler:
> > p2->p_flag |= p1->p_flag & (P_STOPFORK | P_STOPEXEC);
> > will suffice.
>
> I don't understand how the child could be scheduled: if the parent has
> STOPFORK, then the child is not made runnable.
Definititely applies to STOPEXEC though.
David
--
David Laight: david@l8s.co.uk