On Fri, Oct 01, 2010 at 11:11:31PM -0400, Mark Heily wrote:
I got the following from credentials(7):
The POSIX threads specification requires that credentials are shared by all of
the threads in a process. However, at the kernel level, Linux maintains
separate user and group credentials for each thread. The NPTL threading
implementation does some work to ensure that any change to user or group
credentials (e.g., calls to setuid(2), setresuid(2), etc.) is carried through
to all of the POSIX threads in a process.
Hope it helps.
--