> I don't really understand why a kernel patch is needed to have a uniq
> PID for a thread. I would have implemented a getpid() in the libpthread
> (hiding the getpid() from libc), as well as a getppid().
And how do you handle things like credentials? These data structures
are filled by the kernel. Send such a package from a thread and the
receiver will see the PID of the thread, and not the manager.
There are certainly other situations like this. An only-user-level
solution cannot work.
-- ---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA Cygnus Solutions `--' drepper at cygnus.com `------------------------- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/