aboutsummaryrefslogtreecommitdiff
path: root/sys/security
diff options
context:
space:
mode:
authorTom Rhodes <trhodes@FreeBSD.org>2004-09-10 15:14:50 +0000
committerTom Rhodes <trhodes@FreeBSD.org>2004-09-10 15:14:50 +0000
commit88af03989b2c02c7aeb36a9e65f59ec35c6924e8 (patch)
tree25db22960c07fc788472460b6ed8e9259bd7d64f /sys/security
parenta5906b6cd2cd2d4bd212cc6ead8c08f39f1997f2 (diff)
downloadsrc-88af03989b2c02c7aeb36a9e65f59ec35c6924e8.tar.gz
src-88af03989b2c02c7aeb36a9e65f59ec35c6924e8.zip
Remove the debugging tunable, it was not being used.
Enable first match by default.[1] We should: rwatson [1]
Notes
Notes: svn path=/head/; revision=135039
Diffstat (limited to 'sys/security')
-rw-r--r--sys/security/mac_bsdextended/mac_bsdextended.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/security/mac_bsdextended/mac_bsdextended.c b/sys/security/mac_bsdextended/mac_bsdextended.c
index c9e97f0a96e5..0d8985eb003e 100644
--- a/sys/security/mac_bsdextended/mac_bsdextended.c
+++ b/sys/security/mac_bsdextended/mac_bsdextended.c
@@ -94,15 +94,6 @@ SYSCTL_INT(_security_mac_bsdextended, OID_AUTO, rule_slots, CTLFLAG_RD,
&rule_slots, 0, "Number of used rule slots\n");
/*
- * This tunable spits out information about what is going on which
- * would be more suited for a log file. Eventually
- * this will go away as we do not currently use it.
- */
-static int mac_bsdextended_debugging;
-SYSCTL_INT(_security_mac_bsdextended, OID_AUTO, debugging, CTLFLAG_RW,
- &mac_bsdextended_debugging, 0, "Enable debugging on failure");
-
-/*
* This is just used for logging purposes as eventually we would like
* to log much more then failed requests.
*/
@@ -118,7 +109,7 @@ SYSCTL_INT(_security_mac_bsdextended, OID_AUTO, logging, CTLFLAG_RW,
static int
mac_bsdextended_firstmatch_enabled;
SYSCTL_INT(_security_mac_bsdextended, OID_AUTO, firstmatch_enabled,
- CTLFLAG_RW, &mac_bsdextended_firstmatch_enabled, 0,
+ CTLFLAG_RW, &mac_bsdextended_firstmatch_enabled, 1,
"Disable/enable match first rule functionality");
static int