cvs commit: src/sys/kern kern_descrip.c
Pawel Jakub Dawidek
pjd at FreeBSD.org
Thu Jul 15 10:35:25 PDT 2004
On Thu, Jul 15, 2004 at 01:21:09PM -0400, Robert Watson wrote:
+> > Could we change 'td->td_ucred->cr_ruid != 0 || jailed(td->td_ucred)' to
+> > 'suser(td) != 0'?
+>
+> No, because suser(td) checks the effective uid, not the real uid. Which
+> is the reason I asked him to change it to that before committing, and why
+> Colin had to back out his commit also :-). Colin is preparing patches to
+> add a flag to suser_cred() to allow the caller to say they care about the
+> real uid.
Thanks for clarification, but why actually do we care so much here about
real uid?
--
Pawel Jakub Dawidek http://www.FreeBSD.org
pjd at FreeBSD.org http://garage.freebsd.pl
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20040715/3e6dad4b/attachment.bin
More information about the cvs-src
mailing list