Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jul 2002 21:21:05 -0700 (PDT)
From:      Adam Migus <amigus@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 14885 for review
Message-ID:  <200207250421.g6P4L5SB063353@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=14885

Change 14885 by amigus@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@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?200207250421.g6P4L5SB063353>