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 file_type, unlabeled_t, proc_type, filesystem_type, mtrr_device_t,
27 keepalived_unconfined_script_exec_t, sysctl_type file types.
28
29 The default entrypoint paths for the keepalived_unconfined_script_t
30 domain are the following:
31
32 all files on the system, /dev/cpu/mtrr, /usr/libexec/keepalived(/.*)?
33
35 SELinux defines process types (domains) for each process running on the
36 system
37
38 You can see the context of a process using the -Z option to ps
39
40 Policy governs the access confined processes have to files. SELinux
41 keepalived_unconfined_script policy is very flexible allowing users to
42 setup their keepalived_unconfined_script processes in as secure a
43 method as possible.
44
45 The following process types are defined for keepalived_uncon‐
46 fined_script:
47
48 keepalived_unconfined_script_t
49
50 Note: semanage permissive -a keepalived_unconfined_script_t can be used
51 to make the process type keepalived_unconfined_script_t permissive.
52 SELinux does not deny access to permissive process types, but the AVC
53 (SELinux denials) messages are still generated.
54
55
57 SELinux policy is customizable based on least access required.
58 keepalived_unconfined_script policy is extremely flexible and has sev‐
59 eral booleans that allow you to manipulate the policy and run
60 keepalived_unconfined_script with the tightest access possible.
61
62
63
64 If you want to allow all domains to use other domains file descriptors,
65 you must turn on the allow_domain_fd_use boolean. Enabled by default.
66
67 setsebool -P allow_domain_fd_use 1
68
69
70
71 If you want to allow unconfined executables to make their heap memory
72 executable. Doing this is a really bad idea. Probably indicates a
73 badly coded executable, but could indicate an attack. This executable
74 should be reported in bugzilla, you must turn on the allow_execheap
75 boolean. Disabled by default.
76
77 setsebool -P allow_execheap 1
78
79
80
81 If you want to allow unconfined executables to map a memory region as
82 both executable and writable, this is dangerous and the executable
83 should be reported in bugzilla), you must turn on the allow_execmem
84 boolean. Enabled by default.
85
86 setsebool -P allow_execmem 1
87
88
89
90 If you want to allow all unconfined executables to use libraries
91 requiring text relocation that are not labeled textrel_shlib_t), you
92 must turn on the allow_execmod boolean. Enabled by default.
93
94 setsebool -P allow_execmod 1
95
96
97
98 If you want to allow unconfined executables to make their stack exe‐
99 cutable. This should never, ever be necessary. Probably indicates a
100 badly coded executable, but could indicate an attack. This executable
101 should be reported in bugzilla), you must turn on the allow_execstack
102 boolean. Enabled by default.
103
104 setsebool -P allow_execstack 1
105
106
107
108 If you want to allow sysadm to debug or ptrace all processes, you must
109 turn on the allow_ptrace boolean. Disabled by default.
110
111 setsebool -P allow_ptrace 1
112
113
114
115 If you want to allow all domains to have the kernel load modules, you
116 must turn on the domain_kernel_load_modules boolean. Disabled by
117 default.
118
119 setsebool -P domain_kernel_load_modules 1
120
121
122
123 If you want to allow all domains to execute in fips_mode, you must turn
124 on the fips_mode boolean. Enabled by default.
125
126 setsebool -P fips_mode 1
127
128
129
130 If you want to enable reading of urandom for all domains, you must turn
131 on the global_ssp boolean. Disabled by default.
132
133 setsebool -P global_ssp 1
134
135
136
137 If you want to allow certain domains to map low memory in the kernel,
138 you must turn on the mmap_low_allowed boolean. Disabled by default.
139
140 setsebool -P mmap_low_allowed 1
141
142
143
144 If you want to boolean to determine whether the system permits loading
145 policy, setting enforcing mode, and changing boolean values. Set this
146 to true and you have to reboot to set it back, you must turn on the
147 secure_mode_policyload boolean. Disabled by default.
148
149 setsebool -P secure_mode_policyload 1
150
151
152
153 If you want to support X userspace object manager, you must turn on the
154 xserver_object_manager boolean. Disabled by default.
155
156 setsebool -P xserver_object_manager 1
157
158
159
161 The SELinux process type keepalived_unconfined_script_t can manage
162 files labeled with the following file types. The paths listed are the
163 default paths for these file types. Note the processes UID still need
164 to have DAC permissions.
165
166 file_type
167
168 all files on the system
169
170
172 SELinux requires files to have an extended attribute to define the file
173 type.
174
175 You can see the context of a file using the -Z option to ls
176
177 Policy governs the access confined processes have to these files.
178 SELinux keepalived_unconfined_script policy is very flexible allowing
179 users to setup their keepalived_unconfined_script processes in as
180 secure a method as possible.
181
182 The following file types are defined for keepalived_unconfined_script:
183
184
185
186 keepalived_unconfined_script_exec_t
187
188 - Set files with the keepalived_unconfined_script_exec_t type, if you
189 want to transition an executable to the keepalived_unconfined_script_t
190 domain.
191
192
193
194 Note: File context can be temporarily modified with the chcon command.
195 If you want to permanently change the file context you need to use the
196 semanage fcontext command. This will modify the SELinux labeling data‐
197 base. You will need to use restorecon to apply the labels.
198
199
201 semanage fcontext can also be used to manipulate default file context
202 mappings.
203
204 semanage permissive can also be used to manipulate whether or not a
205 process type is permissive.
206
207 semanage module can also be used to enable/disable/install/remove pol‐
208 icy modules.
209
210 semanage boolean can also be used to manipulate the booleans
211
212
213 system-config-selinux is a GUI tool available to customize SELinux pol‐
214 icy settings.
215
216
218 This manual page was auto-generated using sepolicy manpage .
219
220
222 selinux(8), keepalived_unconfined_script(8), semanage(8), restore‐
223 con(8), chcon(1) , setsebool(8)
224
225
226
227keepalived_unconfined_script 15-06k-e0e3palived_unconfined_script_selinux(8)