lkml.org 
[lkml]   [2002]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: thread groups bug?

On Thu, 28 Feb 2002, David Howells wrote:
>
> Except that the execve() _can_ (a) change the TGID and (b) result in two
> effective thread groups of the same TGID as far as the kernel is concerned.

You're right. I did that for security reasons - making sure that nobody
can execve a suid application and then keep on sending signals to it under
the auspices of thread groups. I'd forgotten about that thing.

Maybe killing the other threads on execve _is_ the right thing after all,
if that also gives us POSIX behaviour.

Who actually maintains the pthread library? I don't think they use
CLONE_THREAD at all yet, right?

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:21    [from the cache]
©2003-2011 Jasper Spaans