PERFORCE change 35509 for review

Robert Watson rwatson at FreeBSD.org
Tue Aug 5 02:37:31 GMT 2003


http://perforce.freebsd.org/chv.cgi?CH=35509

Change 35509 by rwatson at rwatson_tislabs on 2003/08/04 19:36:45

	An XXX on a possibly wrong cred in the NFS code: it's using
	td->td_ucred instead of nd->nd_cr (the NFS credential).

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/nfsserver/nfs_serv.c#26 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/nfsserver/nfs_serv.c#26 (text+ko) ====

@@ -1969,6 +1969,9 @@
 		nd.ni_cnd.cn_nameiop = LOOKUP;
 		nd.ni_cnd.cn_flags &= ~(LOCKPARENT);
 		nd.ni_cnd.cn_thread = td;
+		/*
+	 	 * XXXMAC: Wrong cred?
+		 */
 		nd.ni_cnd.cn_cred = td->td_ucred;
 
 		error = lookup(&nd);
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list