1unconfined_mount_selinux(S8E)Linux Policy unconfined_mouunnctonfined_mount_selinux(8)
2
3
4
6 unconfined_mount_selinux - Security Enhanced Linux Policy for the
7 unconfined_mount processes
8
10 Security-Enhanced Linux secures the unconfined_mount processes via
11 flexible mandatory access control.
12
13 The unconfined_mount processes execute with the unconfined_mount_t
14 SELinux type. You can check if you have these processes running by exe‐
15 cuting the ps command with the -Z qualifier.
16
17 For example:
18
19 ps -eZ | grep unconfined_mount_t
20
21
22
24 The unconfined_mount_t SELinux type can be entered via the file_type,
25 mount_exec_t, unlabeled_t, proc_type, filesystem_type, mtrr_device_t,
26 sysctl_type file types.
27
28 The default entrypoint paths for the unconfined_mount_t domain are the
29 following:
30
31 all files on the system, /bin/mount.*, /sbin/mount.*, /bin/umount.*,
32 /sbin/umount.*, /dev/cpu/mtrr
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 unconfined_mount policy is very flexible allowing users to setup their
42 unconfined_mount processes in as secure a method as possible.
43
44 The following process types are defined for unconfined_mount:
45
46 unconfined_mount_t
47
48 Note: semanage permissive -a unconfined_mount_t can be used to make the
49 process type unconfined_mount_t permissive. SELinux does not deny
50 access to permissive process types, but the AVC (SELinux denials) mes‐
51 sages are still generated.
52
53
55 SELinux policy is customizable based on least access required. uncon‐
56 fined_mount policy is extremely flexible and has several booleans that
57 allow you to manipulate the policy and run unconfined_mount with the
58 tightest access possible.
59
60
61
62 If you want to allow direct login to the console device. Required for
63 System 390, you must turn on the allow_console_login boolean. Enabled
64 by default.
65
66 setsebool -P allow_console_login 1
67
68
69
70 If you want to allow all domains to use other domains file descriptors,
71 you must turn on the allow_domain_fd_use boolean. Enabled by default.
72
73 setsebool -P allow_domain_fd_use 1
74
75
76
77 If you want to allow unconfined executables to make their heap memory
78 executable. Doing this is a really bad idea. Probably indicates a
79 badly coded executable, but could indicate an attack. This executable
80 should be reported in bugzilla, you must turn on the allow_execheap
81 boolean. Disabled by default.
82
83 setsebool -P allow_execheap 1
84
85
86
87 If you want to allow unconfined executables to map a memory region as
88 both executable and writable, this is dangerous and the executable
89 should be reported in bugzilla), you must turn on the allow_execmem
90 boolean. Enabled by default.
91
92 setsebool -P allow_execmem 1
93
94
95
96 If you want to allow all unconfined executables to use libraries
97 requiring text relocation that are not labeled textrel_shlib_t), you
98 must turn on the allow_execmod boolean. Enabled by default.
99
100 setsebool -P allow_execmod 1
101
102
103
104 If you want to allow unconfined executables to make their stack exe‐
105 cutable. This should never, ever be necessary. Probably indicates a
106 badly coded executable, but could indicate an attack. This executable
107 should be reported in bugzilla), you must turn on the allow_execstack
108 boolean. Enabled by default.
109
110 setsebool -P allow_execstack 1
111
112
113
114 If you want to allow confined applications to run with kerberos, you
115 must turn on the allow_kerberos boolean. Enabled by default.
116
117 setsebool -P allow_kerberos 1
118
119
120
121 If you want to allow sysadm to debug or ptrace all processes, you must
122 turn on the allow_ptrace boolean. Disabled by default.
123
124 setsebool -P allow_ptrace 1
125
126
127
128 If you want to transition to confined nsplugin domains from unconfined
129 user, you must turn on the allow_unconfined_nsplugin_transition bool‐
130 ean. Disabled by default.
131
132 setsebool -P allow_unconfined_nsplugin_transition 1
133
134
135
136 If you want to allow system to run with NIS, you must turn on the
137 allow_ypbind boolean. Disabled by default.
138
139 setsebool -P allow_ypbind 1
140
141
142
143 If you want to allow all domains to have the kernel load modules, you
144 must turn on the domain_kernel_load_modules boolean. Disabled by
145 default.
146
147 setsebool -P domain_kernel_load_modules 1
148
149
150
151 If you want to allow all domains to execute in fips_mode, you must turn
152 on the fips_mode boolean. Enabled by default.
153
154 setsebool -P fips_mode 1
155
156
157
158 If you want to enable reading of urandom for all domains, you must turn
159 on the global_ssp boolean. Disabled by default.
160
161 setsebool -P global_ssp 1
162
163
164
165 If you want to allow certain domains to map low memory in the kernel,
166 you must turn on the mmap_low_allowed boolean. Disabled by default.
167
168 setsebool -P mmap_low_allowed 1
169
170
171
172 If you want to allow confined applications to use nscd shared memory,
173 you must turn on the nscd_use_shm boolean. Enabled by default.
174
175 setsebool -P nscd_use_shm 1
176
177
178
179 If you want to enabling secure mode disallows programs, such as new‐
180 role, from transitioning to administrative user domains, you must turn
181 on the secure_mode boolean. Disabled by default.
182
183 setsebool -P secure_mode 1
184
185
186
187 If you want to boolean to determine whether the system permits loading
188 policy, setting enforcing mode, and changing boolean values. Set this
189 to true and you have to reboot to set it back, you must turn on the
190 secure_mode_policyload boolean. Disabled by default.
191
192 setsebool -P secure_mode_policyload 1
193
194
195
196 If you want to allow ssh logins as sysadm_r:sysadm_t, you must turn on
197 the ssh_sysadm_login boolean. Disabled by default.
198
199 setsebool -P ssh_sysadm_login 1
200
201
202
203 If you want to allow unconfined users to transition to the Mozilla
204 plugin domain when running xulrunner plugin-container, you must turn on
205 the unconfined_mozilla_plugin_transition boolean. Enabled by default.
206
207 setsebool -P unconfined_mozilla_plugin_transition 1
208
209
210
211 If you want to allow xdm logins as sysadm, you must turn on the
212 xdm_sysadm_login boolean. Disabled by default.
213
214 setsebool -P xdm_sysadm_login 1
215
216
217
218 If you want to support X userspace object manager, you must turn on the
219 xserver_object_manager boolean. Disabled by default.
220
221 setsebool -P xserver_object_manager 1
222
223
224
226 The SELinux process type unconfined_mount_t can manage files labeled
227 with the following file types. The paths listed are the default paths
228 for these file types. Note the processes UID still need to have DAC
229 permissions.
230
231 file_type
232
233 all files on the system
234
235
237 semanage fcontext can also be used to manipulate default file context
238 mappings.
239
240 semanage permissive can also be used to manipulate whether or not a
241 process type is permissive.
242
243 semanage module can also be used to enable/disable/install/remove pol‐
244 icy modules.
245
246 semanage boolean can also be used to manipulate the booleans
247
248
249 system-config-selinux is a GUI tool available to customize SELinux pol‐
250 icy settings.
251
252
254 This manual page was auto-generated using sepolicy manpage .
255
256
258 selinux(8), unconfined_mount(8), semanage(8), restorecon(8), chcon(1) ,
259 setsebool(8)
260
261
262
263unconfined_mount 15-06-03 unconfined_mount_selinux(8)