mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-07 14:09:33 +00:00
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
c6a121ab5e
commit
8768e441cd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=102980
@ -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