diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2006-09-20 13:33:41 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2006-09-20 13:33:41 +0000 |
commit | 738f14d4b139bed4315b0788098ee99abfc2dd81 (patch) | |
tree | bde92bda6e072a1f98d3b69241e1bcebf3c98ee3 /sys/security/mac/mac_framework.c | |
parent | 04f11621df75b89adcaf30fe235f99f7362fcc33 (diff) | |
download | src-738f14d4b139bed4315b0788098ee99abfc2dd81.tar.gz src-738f14d4b139bed4315b0788098ee99abfc2dd81.zip |
Remove MAC_DEBUG label counters, which were used to debug leaks and
other problems while labels were first being added to various kernel
objects. They have outlived their usefulness.
MFC after: 1 month
Suggested by: Christopher dot Vance at SPARTA dot com
Obtained from: TrustedBSD Project
Notes
Notes:
svn path=/head/; revision=162467
Diffstat (limited to 'sys/security/mac/mac_framework.c')
-rw-r--r-- | sys/security/mac/mac_framework.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/security/mac/mac_framework.c b/sys/security/mac/mac_framework.c index fbb5ebc0a742..b553c80ebada 100644 --- a/sys/security/mac/mac_framework.c +++ b/sys/security/mac/mac_framework.c @@ -136,17 +136,6 @@ int mac_late = 0; int mac_labelmbufs = 0; #endif -#ifdef MAC_DEBUG -SYSCTL_NODE(_security_mac, OID_AUTO, debug, CTLFLAG_RW, 0, - "TrustedBSD MAC debug info"); -SYSCTL_NODE(_security_mac_debug, OID_AUTO, counters, CTLFLAG_RW, 0, - "TrustedBSD MAC object counters"); - -static unsigned int nmactemp; -SYSCTL_UINT(_security_mac_debug_counters, OID_AUTO, temp, CTLFLAG_RD, - &nmactemp, 0, "number of temporary labels in use"); -#endif - static int mac_policy_register(struct mac_policy_conf *mpc); static int mac_policy_unregister(struct mac_policy_conf *mpc); |