Actually, you can get most of the effect (I think) by implementing
a getpid wrapper function in the libthread.so library. This just
returns the pid of the initial process in the group.
However, this is just a cosmetic fix -- the real fix requires
much more work in the area of ptrace......
Philip
-- Philip Gladstone +1 781 487 7700 Raptor Systems, Waltham, MA http://www.raptor.com/