From owner-p4-projects Tue Sep 17 18:43:27 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 6011D37B404; Tue, 17 Sep 2002 18:43:25 -0700 (PDT) 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 0BC3837B401 for ; Tue, 17 Sep 2002 18:43:25 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACF6343E72 for ; Tue, 17 Sep 2002 18:43:24 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8I1hOCo060363 for ; Tue, 17 Sep 2002 18:43:24 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8I1hOaS060360 for perforce@freebsd.org; Tue, 17 Sep 2002 18:43:24 -0700 (PDT) Date: Tue, 17 Sep 2002 18:43:24 -0700 (PDT) Message-Id: <200209180143.g8I1hOaS060360@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson Subject: PERFORCE change 17639 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://people.freebsd.org/~peter/p4db/chv.cgi?CH=17639 Change 17639 by rwatson@rwatson_tislabs on 2002/09/17 18:42:40 Sigh. Try again on the right branch: assert the pipe mutex during pipe relabel operations; this works fine because amigus added required locking to the system call code earlier today. Affected files ... .. //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#267 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#267 (text+ko) ==== @@ -3349,6 +3349,8 @@ { int error; + PIPE_LOCK_ASSERT(pipe, MA_OWNED); + error = mac_check_pipe_relabel(cred, pipe, label); if (error) return (error); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message