Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2002 18:43:24 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 17639 for review
Message-ID:  <200209180143.g8I1hOaS060360@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




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