> > 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/
This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:14 EST