]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
apparmor, libvirt-qemu: Add ppc64el related changes
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Tue, 23 May 2017 16:22:42 +0000 (18:22 +0200)
committerGuido Günther <agx@sigxcpu.org>
Fri, 16 Jun 2017 08:38:52 +0000 (10:38 +0200)
Updates profile to allow running on ppc64el.

Bug-Ubuntu: https://bugs.launchpad.net/bugs/1374554

Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
examples/apparmor/libvirt-qemu

index 89466c9a365ff6b4859a2000e24cb4cc4305d7d4..7fa512f8e39ddd1d1048c6295985200bf2da3a6c 100644 (file)
@@ -73,6 +73,7 @@
   /usr/share/OVMF/** r,
   /usr/share/AAVMF/** r,
   /usr/share/qemu-efi/** r,
+  /usr/share/slof/** r,
 
   # access PKI infrastructure
   /etc/pki/libvirt-vnc/** r,
   /etc/udev/udev.conf r,
   /sys/bus/ r,
   /sys/class/ r,
+
+  # for ppc device-tree access
+  @{PROC}/device-tree/ r,
+  @{PROC}/device-tree/** r,
+  /sys/firmware/devicetree/** r,