Date: Fri, 1 Aug 2003 19:23:26 +0200 From: Pawel Jakub Dawidek <nick@garage.freebsd.pl> To: Robert Watson <rwatson@FreeBSD.org> Cc: Perforce Change Reviews <perforce@freebsd.org> Subject: Re: PERFORCE change 35304 for review Message-ID: <20030801172326.GP43543@garage.freebsd.pl> In-Reply-To: <200308010147.h711l3P8026025@repoman.freebsd.org> References: <200308010147.h711l3P8026025@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--seGp1e/yLldw2teC Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 31, 2003 at 06:47:03PM -0700, Robert Watson wrote: +> Differences ... +>=20 +> =3D=3D=3D=3D //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#395 (te= xt+ko) =3D=3D=3D=3D +>=20 +> @@ -203,6 +203,9 @@ +> nmacsockets, nmacmounts, nmactemp, nmacvnodes, nmacdevfsdirents, +> nmacipqs, nmacpipes, nmacprocs; +> =20 +> +#define MAC_DEBUG_COUNTER_INC(x) atomic_add_int(x, 1); +> +#define MAC_DEBUG_COUNTER_DEC(x) atomic_subtract_int(x, 1); +> + +> 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, +> @@ -227,6 +230,9 @@ +> &nmacvnodes, 0, "number of vnodes in use"); +> SYSCTL_UINT(_security_mac_debug_counters, OID_AUTO, devfsdirents, CTLFL= AG_RD, +> &nmacdevfsdirents, 0, "number of devfs dirents inuse"); +> +#else +> +#define MAC_DEBUG_COUNTER_INC(x) +> +#define MAC_DEBUG_COUNTER_INC(x) I susspect, that one of those should be MAC_DEBUG_COUNTER_DEC(x). --=20 Pawel Jakub Dawidek pawel@dawidek.net UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net --seGp1e/yLldw2teC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iQCVAwUBPyqiDj/PhmMH/Mf1AQG7NgQAhEey1NwiniyNV3evk02gRtzEjFSKkXFr dDqXSB/lCjPJwK2vlP6zSZNaAkBbZoOhyAfe6NlL6147d6NYn7G3/3f1veHi/CEB gva9dTLqr1C8cSZukot5GajVF3As2oRAskz4/dVvfsVZV1eCzRi9U7Qk2Y/wUNFZ eoc4JEpcGi8= =24Ds -----END PGP SIGNATURE----- --seGp1e/yLldw2teC--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030801172326.GP43543>