Re: CLONE_KILLVMCH flag proposal

Pavel Krauz (xkr@nettest.dk)
Wed, 16 Feb 2000 08:53:03 +0100


> > This is an proposal for CLONE_KILLVMCH. The process/thread that
> > has this flag set will kill all its children that share the same VM
>
> How about looking at prctl(2), which was added for just this purpose?

Thanks, I did not know about prctl. Perfect, though how it will behave
if there are children that were cloned with CLONE_VM and forked (cloned
without CLONE_VM). I think that the signal will be delivered to all of them.

How about an option to deliver signal only to children that were cloned only

with CLONE_VM?

regards
Pavel

-
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/