| 1 |
.TH "virtual_domain_context" "5" "28-Nov-2011" "Security Enhanced Linux" "SELinux configuration" |
| 2 |
.SH "NAME" |
| 3 |
virtual_domain_context \- The SELinux virtual machine domain context configuration file |
| 4 |
. |
| 5 |
.SH "DESCRIPTION" |
| 6 |
The |
| 7 |
.I virtual_domain_context |
| 8 |
file contains a list of domain contexts that are available for use by the SELinux-aware virtualization API libvirt (see \fBlibvirtd\fR(8)). |
| 9 |
.sp |
| 10 |
.BR selinux_virtual_domain_context_path "(3) " |
| 11 |
will return the active policy path to this file. The default virtual domain context file is: |
| 12 |
.RS |
| 13 |
.I /etc/selinux/{SELINUXTYPE}/contexts/virtual_domain_context |
| 14 |
.RE |
| 15 |
.sp |
| 16 |
Where \fI{SELINUXTYPE}\fR is the entry from the selinux configuration file \fIconfig\fR (see \fBselinux_config\fR(5)). |
| 17 |
. |
| 18 |
.SH "FILE FORMAT" |
| 19 |
Each line in the file consists of an entry as follows: |
| 20 |
.RS |
| 21 |
.IB user : role : type \fR[\fB:\fIrange\fR] |
| 22 |
.RE |
| 23 |
.sp |
| 24 |
Where: |
| 25 |
.RS |
| 26 |
.I user role type range |
| 27 |
.RS |
| 28 |
A user, role, type and optional range (for MCS/MLS) separated by colons (:) that can be used as a virtual domain context. |
| 29 |
.RE |
| 30 |
.RE |
| 31 |
. |
| 32 |
.SH "EXAMPLE" |
| 33 |
# ./contexts/virtual_domain_context |
| 34 |
.br |
| 35 |
system_u:object_r:svirt_t:s0 |
| 36 |
. |
| 37 |
.SH "SEE ALSO" |
| 38 |
.ad l |
| 39 |
.nh |
| 40 |
.BR selinux "(8), " libvirtd "(8), " selinux_virtual_domain_context_path "(3), " selinux_config "(5) " |