1virtual_image_context(5) SELinux configuration virtual_image_context(5)
2
3
4
6 virtual_image_context - The SELinux virtual machine image context con‐
7 figuration file
8
10 The virtual_image_context file contains a list of image contexts for
11 use by the SELinux-aware virtualization API libvirt (see libvirtd(8)).
12
13 selinux_virtual_image_context_path(3) will return the active policy
14 path to this file. The default virtual image context file is:
15 /etc/selinux/{SELINUXTYPE}/contexts/virtual_image_context
16
17 Where {SELINUXTYPE} is the entry from the selinux configuration file
18 config (see selinux_config(5)).
19
21 Each line in the file consists of an entry as follows:
22 user:role:type[:range]
23
24 Where:
25 user role type range
26 A user, role, type and optional range (for MCS/MLS) sepa‐
27 rated by colons (:) that can be used as a virtual image
28 context.
29
31 # ./contexts/virtual_image_context
32 system_u:object_r:svirt_image_t:s0
33 system_u:object_r:svirt_content_t:s0
34
36 selinux(8), libvirtd(8), selinux_virtual_image_context_path(3),
37 selinux_config(5)
38
39
40
41Security Enhanced Linux 28-Nov-2011 virtual_image_context(5)