PERFORCE change 17639 for review

Robert Watson rwatson at freebsd.org
Wed Sep 18 01:43:24 GMT 2002


http://people.freebsd.org/~peter/p4db/chv.cgi?CH=17639

Change 17639 by rwatson at 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 at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list