Move secure_mode_policyload into selinux module as that is the only place it is used.
This commit is contained in:
parent
7d6b1e5889
commit
aecd12c7b0
|
@ -12,12 +12,3 @@
|
||||||
## </p>
|
## </p>
|
||||||
## </desc>
|
## </desc>
|
||||||
gen_bool(secure_mode,false)
|
gen_bool(secure_mode,false)
|
||||||
|
|
||||||
## <desc>
|
|
||||||
## <p>
|
|
||||||
## boolean to determine whether the system permits loading policy, setting
|
|
||||||
## enforcing mode, and changing boolean values. Set this to true and you
|
|
||||||
## have to reboot to set it back
|
|
||||||
## </p>
|
|
||||||
## </desc>
|
|
||||||
gen_bool(secure_mode_policyload,false)
|
|
||||||
|
|
|
@ -5,6 +5,15 @@ policy_module(selinux, 1.10.0)
|
||||||
# Declarations
|
# Declarations
|
||||||
#
|
#
|
||||||
|
|
||||||
|
## <desc>
|
||||||
|
## <p>
|
||||||
|
## Boolean to determine whether the system permits loading policy, setting
|
||||||
|
## enforcing mode, and changing boolean values. Set this to true and you
|
||||||
|
## have to reboot to set it back.
|
||||||
|
## </p>
|
||||||
|
## </desc>
|
||||||
|
gen_bool(secure_mode_policyload,false)
|
||||||
|
|
||||||
attribute boolean_type;
|
attribute boolean_type;
|
||||||
attribute can_load_policy;
|
attribute can_load_policy;
|
||||||
attribute can_setenforce;
|
attribute can_setenforce;
|
||||||
|
|
Loading…
Reference in New Issue