[PATCH 04/12] apparmor, libvirt-qemu: Allow read access to max_mem_regions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Serge Hallyn <serge.hallyn@xxxxxxxxxx>

Allows read access to /sys/module/vhost/parameters/max_mem_regions.

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

Signed-off-by: Stefan Bader <stefan.bader@xxxxxxxxxxxxx>
---
 examples/apparmor/libvirt-qemu | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/examples/apparmor/libvirt-qemu b/examples/apparmor/libvirt-qemu
index b9e45bd..91d0e02 100644
--- a/examples/apparmor/libvirt-qemu
+++ b/examples/apparmor/libvirt-qemu
@@ -38,6 +38,8 @@
   /sys/devices/system/node/node[0-9]*/meminfo r,
   /sys/devices/system/cpu/ r,
 
+  /sys/module/vhost/parameters/max_mem_regions r,
+
   # For hostdev access. The actual devices will be added dynamically
   /sys/bus/usb/devices/ r,
   /sys/devices/**/usb[0-9]*/** r,
-- 
2.7.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux