On Thu, 28 Feb 2002, David Howells wrote:
>
> If the master thread of a thread group (PID==TGID) performs an execve() then
> it is possible to end up with two or more thread groups with the same TGID.
No.
When they have the same TGID, they _are_ the same thread group.
There is absolutely _zero_ correlation between thread ID and MM. Never has
been, never will be. An execve() is a total non-event from a TGID
perspective.
If you expect POSIX behaviour, you do not do execve's from the master.
It's that simple.
(Note that if you want POSIX behaviour, you're catching execve() anyway,
so the matter is moot).
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/
This archive was generated by hypermail 2b29 : Thu Feb 28 2002 - 21:00:42 EST