Date: Mon, 10 Nov 2003 14:28:59 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 41938 for review Message-ID: <200311102228.hAAMSxKc066425@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=41938 Change 41938 by rwatson@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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311102228.hAAMSxKc066425>