Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Apr 2003 20:15:20 +1000
From:      Tim Robbins <tjr@FreeBSD.ORG>
To:        David Xu <davidxu@viatech.com.cn>
Cc:        freebsd-threads@FreeBSD.ORG
Subject:   Re: Threading and credential changes
Message-ID:  <20030425201520.A4699@dilbert.robbins.dropbear.id.au>
In-Reply-To: <028801c30adb$8b9095d0$f001a8c0@davidw2k>; from davidxu@viatech.com.cn on Fri, Apr 25, 2003 at 11:33:41AM %2B0800
References:  <20030425131656.A93380@dilbert.robbins.dropbear.id.au> <028801c30adb$8b9095d0$f001a8c0@davidw2k>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030425201520.A4699>