PERFORCE change 89391 for review
Christian S.J. Peron
csjp at FreeBSD.org
Sun Jan 8 17:09:06 PST 2006
http://perforce.freebsd.org/chv.cgi?CH=89391
Change 89391 by csjp at csjp_xor on 2006/01/09 01:08:14
We not use crget/crfree to manage the ucred. Remove the comment which
says otherwise.
Affected files ...
.. //depot/projects/trustedbsd/mac/sys/nfsserver/nfs_srvsock.c#21 edit
Differences ...
==== //depot/projects/trustedbsd/mac/sys/nfsserver/nfs_srvsock.c#21 (text+ko) ====
@@ -362,12 +362,6 @@
}
nfsm_adv(nfsm_rndup(len));
tl = nfsm_dissect_nonblock(u_int32_t *, 3 * NFSX_UNSIGNED);
- /*
- * XXX: This credential should be managed using crget(9)
- * and related calls. Right now, this tramples on any
- * extensible data in the ucred, and worse. This wasn't
- * fixed before FreeBSD 5.3-RELEASE.
- */
nd->nd_cr->cr_uid = nd->nd_cr->cr_ruid =
nd->nd_cr->cr_svuid = fxdr_unsigned(uid_t, *tl++);
nd->nd_cr->cr_groups[0] = nd->nd_cr->cr_rgid =
More information about the p4-projects
mailing list