selinux/libselinux/man/man5/virtual_domain_context.5
Richard Haines 426d624723 libselinux: Add man/man5 man pages
Add service_seusers(5) - those in the ./logins directory, seusers(5),
user_contexts(5) - those in the ./contexts/users directory,
virtual_domain_context(5) and virtual_image_context(5) man pages.

Signed-off-by: Richard Haines <richard_c_haines@btinternet.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
2011-12-05 16:11:22 -05:00

40 lines
1.2 KiB
Groff

.TH "virtual_domain_context" "5" "28-Nov-2011" "Security Enhanced Linux" "SELinux configuration"
.SH "NAME"
virtual_domain_context \- The SELinux virtual machine domain context configuration file.
.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)).
.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
.SH "EXAMPLE"
# ./contexts/virtual_domain_context
.br
system_u:object_r:svirt_t:s0
.SH "SEE ALSO"
.BR selinux "(8), " libvirtd "(8), " selinux_virtual_domain_context_path "(3), " selinux_config "(5) "