PERFORCE change 16298 for review

Robert Watson rwatson at freebsd.org
Mon Aug 19 20:21:44 GMT 2002


http://people.freebsd.org/~peter/p4db/chv.cgi?CH=16298

Change 16298 by rwatson at rwatson_paprika on 2002/08/19 13:21:11

	Put in a missing vnode lock assertion in the exec check.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#252 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#252 (text+ko) ====

@@ -1705,6 +1705,8 @@
 {
 	int error;
 
+	ASSERT_VOP_LOCKED(vp, "mac_check_vnode_exec");
+
 	if (!mac_enforce_process && !mac_enforce_fs)
 		return (0);
 
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