PERFORCE change 20407 for review

Robert Watson rwatson at freebsd.org
Wed Oct 30 14:17:46 GMT 2002


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

Change 20407 by rwatson at rwatson_tislabs on 2002/10/30 06:17:06

	Assert vnode lock in will_transition since we provide access
	to the vnode label.

Affected files ...

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

Differences ...

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

@@ -1916,6 +1916,8 @@
 {
 	int result;
 
+	ASSERT_VOP_LOCKED(vp, "mac_execve_transition");
+
 	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