What appears to be the consensus is that with CLONE_PID, you can use
either pid's or tid's where you currently use pid's. pid's and tid's
will be allocated from the same number space. Using the pid will affect
all threads, but using the tid will affect only one thread.
There is no reason, then, ptrace() could not simply be called with the
tid.
-hpa
-- PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74 See http://www.zytor.com/~hpa/ for web page and full PGP public key Always looking for a few good BOsFH. ** Linux - the OS of global cooperation I am Baha'i -- ask me about it or see http://www.bahai.org/