lkml.org 
[lkml]   [2000]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.327 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site