Linux-kernel mailing list archive 2000-07,: Re: CLONE_KILLVMCH flag proposal

# Re: CLONE_KILLVMCH flag proposal

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

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Pauline Middelink: "Re: PCMCIA still doesn't work for 2.3.46-pre2"
- Previous message: James Manning: "Re: weird scheduling"
- Maybe in reply to: Pavel Krauz: "CLONE_KILLVMCH flag proposal"

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

- Next message: Pauline Middelink: "Re: PCMCIA still doesn't work for 2.3.46-pre2"
- Previous message: James Manning: "Re: weird scheduling"
- Maybe in reply to: Pavel Krauz: "CLONE_KILLVMCH flag proposal"