Skip to content

Commit aecd12c

Browse files
committed
Move secure_mode_policyload into selinux module as that is the only place it is used.
1 parent 7d6b1e5 commit aecd12c

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

policy/global_booleans

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,3 @@
1212
## </p>
1313
## </desc>
1414
gen_bool(secure_mode,false)
15-
16-
## <desc>
17-
## <p>
18-
## boolean to determine whether the system permits loading policy, setting
19-
## enforcing mode, and changing boolean values. Set this to true and you
20-
## have to reboot to set it back
21-
## </p>
22-
## </desc>
23-
gen_bool(secure_mode_policyload,false)

policy/modules/kernel/selinux.te

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ policy_module(selinux, 1.10.0)
55
# Declarations
66
#
77

8+
## <desc>
9+
## <p>
10+
## Boolean to determine whether the system permits loading policy, setting
11+
## enforcing mode, and changing boolean values. Set this to true and you
12+
## have to reboot to set it back.
13+
## </p>
14+
## </desc>
15+
gen_bool(secure_mode_policyload,false)
16+
817
attribute boolean_type;
918
attribute can_load_policy;
1019
attribute can_setenforce;

0 commit comments

Comments
 (0)