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/