diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-02-23 11:08:45 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-02-23 11:08:45 +0000 |
commit | becd6b211aac58a2d1a933894d1c86608fb3418f (patch) | |
tree | bb1ff1d123f05a705b2a0bc36161038058139438 | |
parent | 915edfc6181812aef4328b273b73f567dc354014 (diff) | |
download | FreeBSD-src-becd6b211aac58a2d1a933894d1c86608fb3418f.zip FreeBSD-src-becd6b211aac58a2d1a933894d1c86608fb3418f.tar.gz |
mac_none sample policy has nothing to enforce, so remove sysctls.
mac_stub acts as a template policy and holds sample sysctls.
-rw-r--r-- | sys/security/mac_none/mac_none.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/security/mac_none/mac_none.c b/sys/security/mac_none/mac_none.c index 76a4bec..29faf7b 100644 --- a/sys/security/mac_none/mac_none.c +++ b/sys/security/mac_none/mac_none.c @@ -75,15 +75,6 @@ #include <security/mac/mac_policy.h> -SYSCTL_DECL(_security_mac); - -SYSCTL_NODE(_security_mac, OID_AUTO, none, CTLFLAG_RW, 0, - "TrustedBSD mac_none policy controls"); - -static int mac_none_enabled = 1; -SYSCTL_INT(_security_mac_none, OID_AUTO, enabled, CTLFLAG_RW, - &mac_none_enabled, 0, "Enforce none policy"); - static struct mac_policy_ops mac_none_ops = { }; |