Re: [PATCH] Prevent reuse of active thread group id

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 20 Aug 2001 17:19:45 +0100 (BST)


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