PERFORCE change 41938 for review
Robert Watson
rwatson at FreeBSD.org
Mon Nov 10 22:28:59 GMT 2003
http://perforce.freebsd.org/chv.cgi?CH=41938
Change 41938 by rwatson at rwatson_tislabs on 2003/11/10 14:27:59
Integrate mac_labelzone_free() calls from trustedbsd_mac.
Affected files ...
.. //depot/projects/trustedbsd/sebsd/sys/security/mac/mac_net.c#5 integrate
Differences ...
==== //depot/projects/trustedbsd/sebsd/sys/security/mac/mac_net.c#5 (text+ko) ====
@@ -281,6 +281,7 @@
{
MAC_PERFORM(destroy_bpfdesc_label, label);
+ mac_labelzone_free(label);
MAC_DEBUG_COUNTER_DEC(&nmacbpfdescs);
}
@@ -297,6 +298,7 @@
{
MAC_PERFORM(destroy_ifnet_label, label);
+ mac_labelzone_free(label);
MAC_DEBUG_COUNTER_DEC(&nmacifnets);
}
@@ -313,6 +315,7 @@
{
MAC_PERFORM(destroy_ipq_label, label);
+ mac_labelzone_free(label);
MAC_DEBUG_COUNTER_DEC(&nmacipqs);
}
@@ -321,6 +324,7 @@
{
mac_ipq_label_free(ipq->ipq_label);
+ ipq->ipq_label = NULL;
}
void
@@ -340,6 +344,7 @@
{
MAC_PERFORM(destroy_socket_label, label);
+ mac_labelzone_free(label);
MAC_DEBUG_COUNTER_DEC(&nmacsockets);
}
@@ -348,6 +353,7 @@
{
MAC_PERFORM(destroy_socket_peer_label, label);
+ mac_labelzone_free(label);
MAC_DEBUG_COUNTER_DEC(&nmacsockets);
}
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