Re-insert TUNABLE() export of MAC Biba and MAC MLS module 'enabled'

sysctls.  Apparently lost during some or another merge.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
This commit is contained in:
Robert Watson 2002-09-05 18:52:52 +00:00
parent c6a121ab5e
commit 8768e441cd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=102980
2 changed files with 2 additions and 0 deletions

View File

@ -84,6 +84,7 @@ SYSCTL_NODE(_security_mac, OID_AUTO, biba, CTLFLAG_RW, 0,
static int mac_biba_enabled = 0;
SYSCTL_INT(_security_mac_biba, OID_AUTO, enabled, CTLFLAG_RW,
&mac_biba_enabled, 0, "Enforce MAC/Biba policy");
TUNABLE_INT("security.mac.biba.enabled", &mac_biba_enabled);
static int destroyed_not_inited;
SYSCTL_INT(_security_mac_biba, OID_AUTO, destroyed_not_inited, CTLFLAG_RD,

View File

@ -84,6 +84,7 @@ SYSCTL_NODE(_security_mac, OID_AUTO, mls, CTLFLAG_RW, 0,
static int mac_mls_enabled = 0;
SYSCTL_INT(_security_mac_mls, OID_AUTO, enabled, CTLFLAG_RW,
&mac_mls_enabled, 0, "Enforce MAC/MLS policy");
TUNABLE_INT("security.mac.mls.enabled", &mac_mls_enabled);
static int destroyed_not_inited;
SYSCTL_INT(_security_mac_mls, OID_AUTO, destroyed_not_inited, CTLFLAG_RD,