diff options
author | trhodes <trhodes@FreeBSD.org> | 2004-09-10 15:14:50 +0000 |
---|---|---|
committer | trhodes <trhodes@FreeBSD.org> | 2004-09-10 15:14:50 +0000 |
commit | 44506a9b6800da0024893393d5496083318a9cc6 (patch) | |
tree | 25db22960c07fc788472460b6ed8e9259bd7d64f /sys/security/mac_bsdextended/mac_bsdextended.c | |
parent | 46e872d3e6662da8954b172e31315d29d61c2314 (diff) | |
download | FreeBSD-src-44506a9b6800da0024893393d5496083318a9cc6.zip FreeBSD-src-44506a9b6800da0024893393d5496083318a9cc6.tar.gz |
Remove the debugging tunable, it was not being used.
Enable first match by default.[1]
We should: rwatson [1]
Diffstat (limited to 'sys/security/mac_bsdextended/mac_bsdextended.c')
-rw-r--r-- | sys/security/mac_bsdextended/mac_bsdextended.c | 11 |
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 |