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