]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
doc: update description about security labels on formatdomain.html
authorMarcelo Cerri <mhcerri@linux.vnet.ibm.com>
Tue, 2 Oct 2012 17:57:37 +0000 (14:57 -0300)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 3 Oct 2012 10:15:03 +0000 (12:15 +0200)
This patch adds a brief description about labels for each security
driver.

docs/formatdomain.html.in

index bc4cc4a2abae9f6aef235b73e9b3c0ee9174537b..3cc6c51fd3c6d5cf946465d2e2acf9f849993a71 100644 (file)
@@ -4126,12 +4126,22 @@ qemu-kvm -net nic,model=? /dev/null
       <dt><code>label</code></dt>
       <dd>If static labelling is used, this must specify the full
         security label to assign to the virtual domain. The format
-        of the content depends on the security driver in use
+        of the content depends on the security driver in use:
+        <ul>
+          <li>SELinux: a SELinux context.</li>
+          <li>AppArmor: an AppArmor profile.</li>
+          <li>
+            DAC: owner and group separated by colon. They can be
+            defined both as user/group names or uid/gid. The driver will first
+            try to parse these values as names, but a leading plus sign can
+            used to force the driver to parse them as uid or gid.
+          </li>
+        </ul>
       </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
+        of the content depends on the security driver in use.
       </dd>
       <dt><code>imagelabel</code></dt>
       <dd>This is an output only element, which shows the