aboutsummaryrefslogtreecommitdiff
path: root/sys/security/mac_none/mac_none.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2002-12-10 16:20:34 +0000
committerRobert Watson <rwatson@FreeBSD.org>2002-12-10 16:20:34 +0000
commiteba0370d9028d9b36bc36dea083f1ae6a0592e73 (patch)
treeb774321cf04143cea01bca6620f4f94b6edbc651 /sys/security/mac_none/mac_none.c
parent749142ecbf0e4026b4ccef9dd9b42e2bc5637b60 (diff)
downloadsrc-eba0370d9028d9b36bc36dea083f1ae6a0592e73.tar.gz
src-eba0370d9028d9b36bc36dea083f1ae6a0592e73.zip
Default policies to on: if you load them or compile them into your
kernel, you should expect them to do something, so now they do. This doesn't affect users who don't load or explicitly compile in the policies. Approved by: re (jhb) Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
Notes
Notes: svn path=/head/; revision=107731
Diffstat (limited to 'sys/security/mac_none/mac_none.c')
-rw-r--r--sys/security/mac_none/mac_none.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/mac_none/mac_none.c b/sys/security/mac_none/mac_none.c
index 99440dbfd706..328f07d537e8 100644
--- a/sys/security/mac_none/mac_none.c
+++ b/sys/security/mac_none/mac_none.c
@@ -77,7 +77,7 @@ SYSCTL_DECL(_security_mac);
SYSCTL_NODE(_security_mac, OID_AUTO, none, CTLFLAG_RW, 0,
"TrustedBSD mac_none policy controls");
-static int mac_none_enabled = 0;
+static int mac_none_enabled = 1;
SYSCTL_INT(_security_mac_none, OID_AUTO, enabled, CTLFLAG_RW,
&mac_none_enabled, 0, "Enforce none policy");