On Wed, Nov 21, 2012 at 01:36:01PM -0700, Warner Losh wrote:
> >> Is pkill() guaranteed to do an atomic traversal of the process list?
> >> So it will kill something that keeps using fork() to change its pid.
> >
> > I don't think our libkvm offers that.
>
> How could you guarantee this short of moving this into the kernel
> so you could do all the comparisons while keeping all forks from happening?
You probably can't ...
Even in the kernel it might be 'interesting'.
David
--
David Laight: [email protected]