summaryrefslogtreecommitdiffstats
path: root/sys/security/mac_lomac/mac_lomac.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-12-10 16:20:34 +0000
committerrwatson <rwatson@FreeBSD.org>2002-12-10 16:20:34 +0000
commitf38706bfe36c0d39acbc23267dd65c4302d89028 (patch)
treeb774321cf04143cea01bca6620f4f94b6edbc651 /sys/security/mac_lomac/mac_lomac.c
parent25d9b23924e5372a5215f3ca0b1d91d34f095e47 (diff)
downloadFreeBSD-src-f38706bfe36c0d39acbc23267dd65c4302d89028.zip
FreeBSD-src-f38706bfe36c0d39acbc23267dd65c4302d89028.tar.gz
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
Diffstat (limited to 'sys/security/mac_lomac/mac_lomac.c')
-rw-r--r--sys/security/mac_lomac/mac_lomac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/mac_lomac/mac_lomac.c b/sys/security/mac_lomac/mac_lomac.c
index a531f25..55603af 100644
--- a/sys/security/mac_lomac/mac_lomac.c
+++ b/sys/security/mac_lomac/mac_lomac.c
@@ -91,7 +91,7 @@ static int mac_lomac_label_size = sizeof(struct mac_lomac);
SYSCTL_INT(_security_mac_lomac, OID_AUTO, label_size, CTLFLAG_RD,
&mac_lomac_label_size, 0, "Size of struct mac_lomac");
-static int mac_lomac_enabled = 0;
+static int mac_lomac_enabled = 1;
SYSCTL_INT(_security_mac_lomac, OID_AUTO, enabled, CTLFLAG_RW,
&mac_lomac_enabled, 0, "Enforce MAC/LOMAC policy");
TUNABLE_INT("security.mac.lomac.enabled", &mac_lomac_enabled);
OpenPOWER on IntegriCloud