]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
doc: Clarify usage of SELinux baselabel
authorPeter Krempa <pkrempa@redhat.com>
Wed, 24 Apr 2013 13:25:06 +0000 (15:25 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 25 Apr 2013 06:33:52 +0000 (08:33 +0200)
State what fields are used when generating SELinux labels from a
baselabel.

docs/formatdomain.html.in

index 235a20683e6ec919fcbac4eea3f10f720124623b..f3e3de4c1c46c9953b7cf18e62e37a9461a4170b 100644 (file)
@@ -4600,8 +4600,16 @@ qemu-kvm -net nic,model=? /dev/null
       </dd>
       <dt><code>baselabel</code></dt>
       <dd>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 <code>type</code> 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 <code>my_svirt_t</code>
+        as the value for the <code>type</code> field.)
       </dd>
       <dt><code>imagelabel</code></dt>
       <dd>This is an output only element, which shows the