PERFORCE change 18731 for review
Robert Watson
rwatson at freebsd.org
Sat Oct 5 17:06:14 GMT 2002
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=18731
Change 18731 by rwatson at rwatson_tislabs on 2002/10/05 10:05:23
Missing carriage return; make sure to destroy the label in the
mbuf.
Affected files ...
.. //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#293 edit
Differences ...
==== //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#293 (text+ko) ====
@@ -186,6 +186,7 @@
static unsigned int nmacmbufs, nmaccreds, nmacifnets, nmacbpfdescs,
nmacsockets, nmacmounts, nmactemp, nmacvnodes, nmacdevfsdirents,
nmacipqs, nmacpipes, nmacprocs;
+
SYSCTL_UINT(_security_mac_debug_counters, OID_AUTO, mbufs, CTLFLAG_RD,
&nmacmbufs, 0, "number of mbufs in use");
SYSCTL_UINT(_security_mac_debug_counters, OID_AUTO, creds, CTLFLAG_RD,
@@ -1186,6 +1187,7 @@
{
MAC_PERFORM(destroy_mbuf_label, &m->m_pkthdr.label);
+ mac_destroy_label(&m->m_pkthdr.label);
#ifdef MAC_DEBUG
atomic_subtract_int(&nmacmbufs, 1);
#endif
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