http://people.freebsd.org/~peter/p4db/chv.cgi?CH=10632
Change 10632 by rwatson@rwatson_curry on 2002/05/01 19:13:51
Expose the basic security.mac.ifoff.enabled sysctl as a tunable.
Why you'd load this module before booting the kernel and not
mean it, I'm not sure, but I guess I needed to for debugging
purposes, so why not share.
Affected files ...
... //depot/projects/trustedbsd/mac/sys/security/mac_ifoff/mac_ifoff.c#5 edit
Differences ...
==== //depot/projects/trustedbsd/mac/sys/security/mac_ifoff/mac_ifoff.c#5
(text+ko) ====
@@ -76,6 +76,7 @@
static int mac_ifoff_enabled = 1;
SYSCTL_INT(_security_mac_ifoff, OID_AUTO, enabled, CTLFLAG_RW,
&mac_ifoff_enabled, 0, "Enforce ifoff policy");
+TUNABLE_INT("security.mac.ifoff.enabled", &mac_ifoff_enabled);
static int mac_ifoff_lo_enabled = 1;
SYSCTL_INT(_security_mac_ifoff, OID_AUTO, lo_enabled, CTLFLAG_RW,
To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message