Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Aug 2003 19:37:31 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 35509 for review
Message-ID:  <200308050237.h752bVmC077762@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=35509

Change 35509 by rwatson@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);



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