parent
6fd05f26af
commit
02d8aaee7f
25 changed files with 108 additions and 17 deletions
|
|
@ -20,7 +20,7 @@ profile virtnetworkd @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
@{bin}/dnsmasq rPx,
|
||||
|
||||
/etc/libvirt/libvirt.conf r,
|
||||
/etc/libvirt/*.conf r,
|
||||
|
||||
owner /var/lib/libvirt/dnsmasq/*.macs* rw,
|
||||
|
||||
|
|
|
|||
|
|
@ -29,8 +29,7 @@ profile virtnodedevd @{exec_path} flags=(attach_disconnected) {
|
|||
/usr/share/hwdata/*.ids r,
|
||||
/usr/share/pci.ids r,
|
||||
|
||||
/etc/libvirt/libvirt.conf r,
|
||||
/etc/libvirt/virtnodedevd.conf r,
|
||||
/etc/libvirt/*.conf r,
|
||||
/etc/mdevctl.d/{,**} r,
|
||||
|
||||
@{run}/systemd/inhibit/@{int}.ref rw,
|
||||
|
|
@ -64,6 +63,7 @@ profile virtnodedevd @{exec_path} flags=(attach_disconnected) {
|
|||
@{run}/udev/data/c81:@{int} r, # For video4linux
|
||||
@{run}/udev/data/c89:@{int} r, # For I2C bus interface
|
||||
@{run}/udev/data/c90:@{int} r, # For RAM, ROM, Flash
|
||||
@{run}/udev/data/c99:@{int} r, # For raw parallel ports /dev/parport*
|
||||
@{run}/udev/data/c116:@{int} r, # For ALSA
|
||||
@{run}/udev/data/c202:@{int} r, # CPU model-specific registers
|
||||
@{run}/udev/data/c203:@{int} r, # CPU CPUID information
|
||||
|
|
@ -90,6 +90,7 @@ profile virtnodedevd @{exec_path} flags=(attach_disconnected) {
|
|||
owner @{PROC}/@{pid}/fd/ r,
|
||||
owner @{PROC}/@{pid}/stat r,
|
||||
owner @{PROC}/mtrr w,
|
||||
owner @{PROC}/uptime r,
|
||||
|
||||
include if exists <local/virtnodedevd>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,8 +25,7 @@ profile virtstoraged @{exec_path} flags=(attach_disconnected) {
|
|||
@{bin}/qemu-system* rUx, # TODO: Integration with virt-aa-helper
|
||||
@{bin}/qemu-img rUx, # TODO: Integration with virt-aa-helper
|
||||
|
||||
/etc/libvirt/**/ r,
|
||||
/etc/libvirt/libvirt.conf r,
|
||||
/etc/libvirt/{,**} r,
|
||||
|
||||
# For disk images
|
||||
@{MOUNTS}/ r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue