PERFORCE change 79556 for review

Christian S.J. Peron csjp at FreeBSD.org
Mon Jul 4 14:36:07 GMT 2005


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

Change 79556 by csjp at csjp_xor on 2005/07/04 14:35:50

	Add a reminder in the code that we will have to make this code
	MPsafe with regards to VFS.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/security/mac_chkexec/mac_chkexec.c#11 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/security/mac_chkexec/mac_chkexec.c#11 (text+ko) ====

@@ -840,6 +840,7 @@
 		CTR0(KTR_MAC, "mac_chkexec_check: invalid checksum algorithm");
 		return (EPERM);
 	}
+	/* XXX MPSAFE VFS */
 	NDINIT(&nd, LOOKUP, LOCKLEAF | FOLLOW, UIO_USERSPACE, arg, td);
 	if ((error = namei(&nd)) != 0)
 		return (error);
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