From owner-p4-projects Wed Oct 30 6:19: 6 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 6B59A37B404; Wed, 30 Oct 2002 06:19:04 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0304037B401 for ; Wed, 30 Oct 2002 06:19:04 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EB7143E42 for ; Wed, 30 Oct 2002 06:19:03 -0800 (PST) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id g9UEHmmV046565 for ; Wed, 30 Oct 2002 06:17:48 -0800 (PST) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id g9UEHkuA046562 for perforce@freebsd.org; Wed, 30 Oct 2002 06:17:46 -0800 (PST) Date: Wed, 30 Oct 2002 06:17:46 -0800 (PST) Message-Id: <200210301417.g9UEHkuA046562@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson Subject: PERFORCE change 20407 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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