Date: Sat, 5 Oct 2002 10:06:14 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 18731 for review Message-ID: <200210051706.g95H6ExG088557@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=18731 Change 18731 by rwatson@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@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?200210051706.g95H6ExG088557>