Threading and credential changes

Tim Robbins tjr at FreeBSD.ORG
Fri Apr 25 03:15:13 PDT 2003


On Fri, Apr 25, 2003 at 11:33:41AM +0800, David Xu wrote:

> cred is updated when process enters kernel,
> if the current thread cred is not same as process's cred,
> it will be updated to use process's cred.
> when process is in user mode, it is not important if the
> cred is right one. Am I right ?

Thanks. I didn't think to look at the MD code in sys/i386/i386.
I knew I must have been overlooking something obvious.


Tim


More information about the freebsd-threads mailing list