1keepalived_unconfinSeEdL_isncurxipPto_lsieclyinkuexe(p8a)likveeedp_aulnicvoendf_iunnecdo_nsfcirniepdt_script_selinux(8)
2
3
4
6 keepalived_unconfined_script_selinux - Security Enhanced Linux Policy
7 for the keepalived_unconfined_script processes
8
10 Security-Enhanced Linux secures the keepalived_unconfined_script pro‐
11 cesses via flexible mandatory access control.
12
13 The keepalived_unconfined_script processes execute with the
14 keepalived_unconfined_script_t SELinux type. You can check if you have
15 these processes running by executing the ps command with the -Z quali‐
16 fier.
17
18 For example:
19
20 ps -eZ | grep keepalived_unconfined_script_t
21
22
23
25 The keepalived_unconfined_script_t SELinux type can be entered via the
26 keepalived_unconfined_script_exec_t file type.
27
28 The default entrypoint paths for the keepalived_unconfined_script_t
29 domain are the following:
30
31 /usr/libexec/keepalived(/.*)?
32
34 SELinux defines process types (domains) for each process running on the
35 system
36
37 You can see the context of a process using the -Z option to ps
38
39 Policy governs the access confined processes have to files. SELinux
40 keepalived_unconfined_script policy is very flexible allowing users to
41 setup their keepalived_unconfined_script processes in as secure a
42 method as possible.
43
44 The following process types are defined for keepalived_uncon‐
45 fined_script:
46
47 keepalived_unconfined_script_t
48
49 Note: semanage permissive -a keepalived_unconfined_script_t can be used
50 to make the process type keepalived_unconfined_script_t permissive.
51 SELinux does not deny access to permissive process types, but the AVC
52 (SELinux denials) messages are still generated.
53
54
56 SELinux policy is customizable based on least access required.
57 keepalived_unconfined_script policy is extremely flexible and has sev‐
58 eral booleans that allow you to manipulate the policy and run
59 keepalived_unconfined_script with the tightest access possible.
60
61
62
63 If you want to deny user domains applications to map a memory region as
64 both executable and writable, this is dangerous and the executable
65 should be reported in bugzilla, you must turn on the deny_execmem bool‐
66 ean. Enabled by default.
67
68 setsebool -P deny_execmem 1
69
70
71
72 If you want to deny any process from ptracing or debugging any other
73 processes, you must turn on the deny_ptrace boolean. Enabled by
74 default.
75
76 setsebool -P deny_ptrace 1
77
78
79
80 If you want to allow any process to mmap any file on system with
81 attribute file_type, you must turn on the domain_can_mmap_files bool‐
82 ean. Enabled by default.
83
84 setsebool -P domain_can_mmap_files 1
85
86
87
88 If you want to allow all domains write to kmsg_device, while kernel is
89 executed with systemd.log_target=kmsg parameter, you must turn on the
90 domain_can_write_kmsg boolean. Disabled by default.
91
92 setsebool -P domain_can_write_kmsg 1
93
94
95
96 If you want to allow all domains to use other domains file descriptors,
97 you must turn on the domain_fd_use boolean. Enabled by default.
98
99 setsebool -P domain_fd_use 1
100
101
102
103 If you want to allow all domains to have the kernel load modules, you
104 must turn on the domain_kernel_load_modules boolean. Disabled by
105 default.
106
107 setsebool -P domain_kernel_load_modules 1
108
109
110
111 If you want to allow all domains to execute in fips_mode, you must turn
112 on the fips_mode boolean. Enabled by default.
113
114 setsebool -P fips_mode 1
115
116
117
118 If you want to enable reading of urandom for all domains, you must turn
119 on the global_ssp boolean. Disabled by default.
120
121 setsebool -P global_ssp 1
122
123
124
125 If you want to control the ability to mmap a low area of the address
126 space, as configured by /proc/sys/vm/mmap_min_addr, you must turn on
127 the mmap_low_allowed boolean. Disabled by default.
128
129 setsebool -P mmap_low_allowed 1
130
131
132
133 If you want to disable kernel module loading, you must turn on the
134 secure_mode_insmod boolean. Enabled by default.
135
136 setsebool -P secure_mode_insmod 1
137
138
139
140 If you want to boolean to determine whether the system permits loading
141 policy, setting enforcing mode, and changing boolean values. Set this
142 to true and you have to reboot to set it back, you must turn on the
143 secure_mode_policyload boolean. Enabled by default.
144
145 setsebool -P secure_mode_policyload 1
146
147
148
149 If you want to allow unconfined executables to make their heap memory
150 executable. Doing this is a really bad idea. Probably indicates a
151 badly coded executable, but could indicate an attack. This executable
152 should be reported in bugzilla, you must turn on the selin‐
153 uxuser_execheap boolean. Disabled by default.
154
155 setsebool -P selinuxuser_execheap 1
156
157
158
159 If you want to allow all unconfined executables to use libraries
160 requiring text relocation that are not labeled textrel_shlib_t, you
161 must turn on the selinuxuser_execmod boolean. Enabled by default.
162
163 setsebool -P selinuxuser_execmod 1
164
165
166
167 If you want to allow unconfined executables to make their stack exe‐
168 cutable. This should never, ever be necessary. Probably indicates a
169 badly coded executable, but could indicate an attack. This executable
170 should be reported in bugzilla, you must turn on the selinuxuser_exec‐
171 stack boolean. Enabled by default.
172
173 setsebool -P selinuxuser_execstack 1
174
175
176
177 If you want to support X userspace object manager, you must turn on the
178 xserver_object_manager boolean. Enabled by default.
179
180 setsebool -P xserver_object_manager 1
181
182
183
185 The SELinux process type keepalived_unconfined_script_t can manage
186 files labeled with the following file types. The paths listed are the
187 default paths for these file types. Note the processes UID still need
188 to have DAC permissions.
189
190 file_type
191
192 all files on the system
193
194
196 SELinux requires files to have an extended attribute to define the file
197 type.
198
199 You can see the context of a file using the -Z option to ls
200
201 Policy governs the access confined processes have to these files.
202 SELinux keepalived_unconfined_script policy is very flexible allowing
203 users to setup their keepalived_unconfined_script processes in as
204 secure a method as possible.
205
206 The following file types are defined for keepalived_unconfined_script:
207
208
209
210 keepalived_unconfined_script_exec_t
211
212 - Set files with the keepalived_unconfined_script_exec_t type, if you
213 want to transition an executable to the keepalived_unconfined_script_t
214 domain.
215
216
217
218 Note: File context can be temporarily modified with the chcon command.
219 If you want to permanently change the file context you need to use the
220 semanage fcontext command. This will modify the SELinux labeling data‐
221 base. You will need to use restorecon to apply the labels.
222
223
225 semanage fcontext can also be used to manipulate default file context
226 mappings.
227
228 semanage permissive can also be used to manipulate whether or not a
229 process type is permissive.
230
231 semanage module can also be used to enable/disable/install/remove pol‐
232 icy modules.
233
234 semanage boolean can also be used to manipulate the booleans
235
236
237 system-config-selinux is a GUI tool available to customize SELinux pol‐
238 icy settings.
239
240
242 This manual page was auto-generated using sepolicy manpage .
243
244
246 selinux(8), keepalived_unconfined_script(8), semanage(8), restore‐
247 con(8), chcon(1), sepolicy(8) , setsebool(8)
248
249
250
251keepalived_unconfined_script 19-04k-e2e5palived_unconfined_script_selinux(8)