1uml_selinux(8)                SELinux Policy uml                uml_selinux(8)
2
3
4

NAME

6       uml_selinux - Security Enhanced Linux Policy for the uml processes
7

DESCRIPTION

9       Security-Enhanced  Linux  secures the uml processes via flexible manda‐
10       tory access control.
11
12       The uml processes execute with the uml_t SELinux type. You can check if
13       you  have  these processes running by executing the ps command with the
14       -Z qualifier.
15
16       For example:
17
18       ps -eZ | grep uml_t
19
20
21

ENTRYPOINTS

23       The uml_t SELinux type can be entered via the uml_exec_t file type.
24
25       The default entrypoint paths for the uml_t domain are the following:
26
27
28

PROCESS TYPES

30       SELinux defines process types (domains) for each process running on the
31       system
32
33       You can see the context of a process using the -Z option to ps
34
35       Policy  governs  the  access confined processes have to files.  SELinux
36       uml policy is very flexible allowing users to setup their uml processes
37       in as secure a method as possible.
38
39       The following process types are defined for uml:
40
41       uml_t, uml_switch_t
42
43       Note: semanage permissive -a uml_t can be used to make the process type
44       uml_t permissive. SELinux does not deny access  to  permissive  process
45       types, but the AVC (SELinux denials) messages are still generated.
46
47

BOOLEANS

49       SELinux  policy  is  customizable  based on least access required.  uml
50       policy is extremely flexible and has several booleans that allow you to
51       manipulate the policy and run uml with the tightest access possible.
52
53
54
55       If you want to allow all domains to execute in fips_mode, you must turn
56       on the fips_mode boolean. Enabled by default.
57
58       setsebool -P fips_mode 1
59
60
61
62       If you want to allow system to run with  NIS,  you  must  turn  on  the
63       nis_enabled boolean. Disabled by default.
64
65       setsebool -P nis_enabled 1
66
67
68
69       If  you  want  to  support  NFS  home directories, you must turn on the
70       use_nfs_home_dirs boolean. Disabled by default.
71
72       setsebool -P use_nfs_home_dirs 1
73
74
75
76       If you want to support SAMBA home directories, you  must  turn  on  the
77       use_samba_home_dirs boolean. Disabled by default.
78
79       setsebool -P use_samba_home_dirs 1
80
81
82

MANAGED FILES

84       The  SELinux  process type uml_t can manage files labeled with the fol‐
85       lowing file types.  The paths listed are the default  paths  for  these
86       file types.  Note the processes UID still need to have DAC permissions.
87
88       cifs_t
89
90
91       krb5_host_rcache_t
92
93            /var/tmp/krb5_0.rcache2
94            /var/cache/krb5rcache(/.*)?
95            /var/tmp/nfs_0
96            /var/tmp/DNS_25
97            /var/tmp/host_0
98            /var/tmp/imap_0
99            /var/tmp/HTTP_23
100            /var/tmp/HTTP_48
101            /var/tmp/ldap_55
102            /var/tmp/ldap_487
103            /var/tmp/ldapmap1_0
104
105       nfs_t
106
107
108       uml_rw_t
109
110            /home/[^/]+/.uml(/.*)?
111
112       uml_tmp_t
113
114
115       uml_tmpfs_t
116
117
118

FILE CONTEXTS

120       SELinux requires files to have an extended attribute to define the file
121       type.
122
123       You can see the context of a file using the -Z option to ls
124
125       Policy governs the access  confined  processes  have  to  these  files.
126       SELinux  uml  policy is very flexible allowing users to setup their uml
127       processes in as secure a method as possible.
128
129       STANDARD FILE CONTEXT
130
131       SELinux defines the file context types for the uml, if  you  wanted  to
132       store  files with these types in a different paths, you need to execute
133       the semanage command to specify alternate labeling  and  then  use  re‐
134       storecon to put the labels on disk.
135
136       semanage fcontext -a -t uml_exec_t '/srv/uml/content(/.*)?'
137       restorecon -R -v /srv/myuml_content
138
139       Note:  SELinux  often  uses  regular expressions to specify labels that
140       match multiple files.
141
142       The following file types are defined for uml:
143
144
145
146       uml_exec_t
147
148       - Set files with the uml_exec_t type, if you want to transition an exe‐
149       cutable to the uml_t domain.
150
151
152
153       uml_ro_t
154
155       -  Set  files with the uml_ro_t type, if you want to treat the files as
156       uml read/only content.
157
158
159
160       uml_rw_t
161
162       - Set files with the uml_rw_t type, if you want to treat the  files  as
163       uml read/write content.
164
165
166
167       uml_switch_exec_t
168
169       -  Set files with the uml_switch_exec_t type, if you want to transition
170       an executable to the uml_switch_t domain.
171
172
173
174       uml_switch_var_run_t
175
176       - Set files with the uml_switch_var_run_t type, if you  want  to  store
177       the uml switch files under the /run or /var/run directory.
178
179
180
181       uml_tmp_t
182
183       - Set files with the uml_tmp_t type, if you want to store uml temporary
184       files in the /tmp directories.
185
186
187
188       uml_tmpfs_t
189
190       - Set files with the uml_tmpfs_t type, if you want to store  uml  files
191       on a tmpfs file system.
192
193
194
195       Note:  File context can be temporarily modified with the chcon command.
196       If you want to permanently change the file context you need to use  the
197       semanage fcontext command.  This will modify the SELinux labeling data‐
198       base.  You will need to use restorecon to apply the labels.
199
200

COMMANDS

202       semanage fcontext can also be used to manipulate default  file  context
203       mappings.
204
205       semanage  permissive  can  also  be used to manipulate whether or not a
206       process type is permissive.
207
208       semanage module can also be used to enable/disable/install/remove  pol‐
209       icy modules.
210
211       semanage boolean can also be used to manipulate the booleans
212
213
214       system-config-selinux is a GUI tool available to customize SELinux pol‐
215       icy settings.
216
217

AUTHOR

219       This manual page was auto-generated using sepolicy manpage .
220
221

SEE ALSO

223       selinux(8), uml(8), semanage(8), restorecon(8), chcon(1),  sepolicy(8),
224       setsebool(8), uml_switch_selinux(8), uml_switch_selinux(8)
225
226
227
228uml                                23-12-15                     uml_selinux(8)
Impressum