PERFORCE change 14885 for review

Adam Migus amigus at freebsd.org
Thu Jul 25 04:21:05 GMT 2002


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

Change 14885 by amigus at amigus_vmganyopa on 2002/07/24 21:20:52

	We need this too since pipeclose() can get called before
	mac_init_pipe().

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/kern/sys_pipe.c#14 edit

Differences ...

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

@@ -1369,7 +1369,7 @@
 	/*
 	 * Destroy MAC data
 	 */
-	if (cpipe->pipe_peer == NULL)
+	if (cpipe->pipe_label != NULL && cpipe->pipe_peer == NULL)
 		mac_destroy_pipe(cpipe);
 #endif /* MAC */
 
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