lkml.org 
[lkml]   [2001]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Prevent reuse of active thread group id
Date
From
> The thread group id of a task is initially assigned the value of that 
> task's pid, then is inherited for each child task created with
> CLONE_THREAD. This patch makes sure that the thread group id is never
> re-used as another task's pid as long as there's an active task with that
> tgid.

Looks a sensible precaution, otherwise a kill might go to very wrong places.
I'll apply it
-
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 12:57    [W:0.045 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site