2011-12-02 10:59:35 +00:00
|
|
|
.TH "virtual_domain_context" "5" "28-Nov-2011" "Security Enhanced Linux" "SELinux configuration"
|
|
|
|
.SH "NAME"
|
2012-11-13 20:15:34 +00:00
|
|
|
virtual_domain_context \- The SELinux virtual machine domain context configuration file
|
|
|
|
.
|
2011-12-02 10:59:35 +00:00
|
|
|
.SH "DESCRIPTION"
|
|
|
|
The
|
|
|
|
.I virtual_domain_context
|
|
|
|
file contains a list of domain contexts that are available for use by the SELinux-aware virtulization API libvirt (see \fBlibvirtd\fR(8)).
|
|
|
|
.sp
|
|
|
|
.BR selinux_virtual_domain_context_path "(3) "
|
|
|
|
will return the active policy path to this file. The default virtual domain context file is:
|
|
|
|
.RS
|
|
|
|
.I /etc/selinux/{SELINUXTYPE}/contexts/virtual_domain_context
|
|
|
|
.RE
|
|
|
|
.sp
|
|
|
|
Where \fI{SELINUXTYPE}\fR is the entry from the selinux configuration file \fIconfig\fR (see \fBselinux_config\fR(5)).
|
2012-11-13 20:15:34 +00:00
|
|
|
.
|
2011-12-02 10:59:35 +00:00
|
|
|
.SH "FILE FORMAT"
|
|
|
|
Each line in the file consists of an entry as follows:
|
|
|
|
.RS
|
|
|
|
.IB user : role : type \fR[\fB:\fIrange\fR]
|
|
|
|
.RE
|
|
|
|
.sp
|
|
|
|
Where:
|
|
|
|
.RS
|
|
|
|
.I user role type range
|
|
|
|
.RS
|
|
|
|
A user, role, type and optional range (for MCS/MLS) separated by colons (:) that can be used as a virtual domain context.
|
|
|
|
.RE
|
|
|
|
.RE
|
2012-11-13 20:15:34 +00:00
|
|
|
.
|
2011-12-02 10:59:35 +00:00
|
|
|
.SH "EXAMPLE"
|
|
|
|
# ./contexts/virtual_domain_context
|
|
|
|
.br
|
|
|
|
system_u:object_r:svirt_t:s0
|
2012-11-13 20:15:34 +00:00
|
|
|
.
|
2011-12-02 10:59:35 +00:00
|
|
|
.SH "SEE ALSO"
|
2012-11-13 20:15:34 +00:00
|
|
|
.ad l
|
|
|
|
.nh
|
2011-12-02 10:59:35 +00:00
|
|
|
.BR selinux "(8), " libvirtd "(8), " selinux_virtual_domain_context_path "(3), " selinux_config "(5) "
|