Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2002 06:17:46 -0800 (PST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 20407 for review
Message-ID:  <200210301417.g9UEHkuA046562@repoman.freebsd.org>

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

Change 20407 by rwatson@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@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?200210301417.g9UEHkuA046562>