Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 2002 20:14:25 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 10204 for review
Message-ID:  <200204240314.g3O3EP963911@freefall.freebsd.org>

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

Change 10204 by rwatson@rwatson_tislabs on 2002/04/23 20:13:49

	Work around existing FreeBSD VFS locking breakage: don't assert
	that vp is locked for mac_cred_check_search_vnode(), because
	apparently it's not.  Existing assertions in lookup() already
	catch this same bug, so it's not our fault (and needs to be
	fixed).

Affected files ...

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

Differences ...

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

@@ -1059,7 +1059,7 @@
 	struct mac dirlabel;
 	int error;
 
-	ASSERT_VOP_LOCKED(dvp, "mac_cred_check_search_vnode");
+	/* XXX: ASSERT_VOP_LOCKED(dvp, "mac_cred_check_search_vnode"); */
 
 	error = VOP_GETLABEL(dvp, &dirlabel, cred, curthread);
 	if (error)

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?200204240314.g3O3EP963911>