Do for all other profiles what we already do for the
virt-aa-helper one. In this case we limit the feature to AppArmor
3.x, as it was never implemented for 2.x.
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Jim Fehlig <jfehlig@suse.com>
/usr/{lib,lib64,lib/qemu,libexec}/qemu-bridge-helper rmix,
}
+
+@BEGIN_APPARMOR_3@
+ include if exists <local/usr.sbin.libvirtd>
+@END_APPARMOR_3@
}
/usr/{lib,lib64,lib/qemu,libexec}/qemu-bridge-helper rmix,
}
+
+@BEGIN_APPARMOR_3@
+ include if exists <local/usr.sbin.virtqemud>
+@END_APPARMOR_3@
}
@libexecdir@/libvirt_iohelper ix,
/etc/libvirt/hooks/** rmix,
/etc/xen/scripts/** rmix,
+
+@BEGIN_APPARMOR_3@
+ include if exists <local/usr.sbin.virtxend>
+@END_APPARMOR_3@
}