Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2002 21:50:51 -0700 (PDT)
From:      Adam Migus <amigus@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 11427 for review
Message-ID:  <200205170450.g4H4opj25931@freefall.freebsd.org>

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

Change 11427 by amigus@amigus_vmganyopa on 2002/05/16 21:50:44

	Added forgotten peer label initialize calls.

Affected files ...

... //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#143 edit

Differences ...

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

@@ -867,6 +867,7 @@
 {
 
 	mac_init_label(&socket->so_label);
+	mac_init_label(&socket->so_peerlabel);
 	atomic_add_int(&nmacsockets, 1);
 }
 
@@ -875,6 +876,7 @@
 {
 
 	mac_destroy_label(&socket->so_label);
+	mac_destroy_label(&socket->so_peerlabel);
 	atomic_subtract_int(&nmacsockets, 1);
 }
 

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?200205170450.g4H4opj25931>