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

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Aug 20 2001 - 11:19:45 EST


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



This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:36 EST