summaryrefslogtreecommitdiffstats
path: root/sys/security/mac_bsdextended/mac_bsdextended.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/security/mac_bsdextended/mac_bsdextended.c')
-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 c9e97f0..0d8985e 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
OpenPOWER on IntegriCloud