Oh, interesting. Note that we already allocate from the pid space for
other things, so it's entirely doable. Another choice would be to simply
disallow the thread group leader from exec'ing. Linux threads traditionally
try to remain as close to process behaviour as possible, and allowing an
individual thread to exec is very useful, so I'm still in favour of
allocating a new tgid.
-ben
-- "A man with a bass just walked in, and he's putting it down on the floor." - 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/