Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Aug 2002 13:21:44 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 16298 for review
Message-ID:  <200208192021.g7JKLi05054151@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=16298

Change 16298 by rwatson@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@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




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