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:
parent
1a872debf3
commit
315e4703e1
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user