Move secure_mode_policyload into selinux module as that is the only place it is used.

This commit is contained in:
Chris PeBenito 2011-09-26 09:53:23 -04:00
parent 7d6b1e5889
commit aecd12c7b0
2 changed files with 9 additions and 9 deletions

View File

@ -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)

View File

@ -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;