From 278a833922a60e3cd65a05f71f1e19eead84c1d3 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Wed, 24 Apr 2013 15:25:06 +0200 Subject: [PATCH] doc: Clarify usage of SELinux baselabel State what fields are used when generating SELinux labels from a baselabel. --- docs/formatdomain.html.in | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index 235a20683e..f3e3de4c1c 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -4600,8 +4600,16 @@ qemu-kvm -net nic,model=? /dev/null
baselabel
If dynamic labelling is used, this can optionally be - used to specify the base security label. The format - of the content depends on the security driver in use. + used to specify the base security label that will be used to generate + the actual label. The format of the content depends on the security + driver in use. + + The SELinux driver uses only the type field of the + baselabel in the generated label. Other fields are inherited from + the parent process when using SELinux baselabels. + + (The example above demonstrates the use of my_svirt_t + as the value for the type field.)
imagelabel
This is an output only element, which shows the