Subject: Re: stopping childs (patch included)
To: Daniel Carosone <dan@geek.com.au>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: tech-kern
Date: 11/06/2002 08:33:01
> On Tue, Nov 05, 2002 at 03:32:16PM -0800, Bill Studenmund wrote:
> > Isn't there a flag field somewhere? These flags don't really need more
> > than one bit each.
> They're actually counters which are decremented each time, so the
> next N fork/exec's get stopped.

But as I think more about it, it seems to me that the flags would be
enough: once the process are stopped, you have all the time you want to
remove the stopfork or stopexec flags.

I'll rework this with two single bit flags, which remains set to 1 until
you explicitely remove it. In the meantime, if nobody oppose I'll commit
the short int value support to sysctl, someone might need it later.

-- 
Emmanuel Dreyfus.
Sryvpvgngvbaf!
Ibhf irarm qr creqer ibger grzcf n qrpbqre har fvtangher fnaf vagrerg.
manu@netbsd.org