[libvirt] [PATCH 1/2] Fixed regression in apparmor profiles for qemu brought by 43c030f

Eric Blake eblake at redhat.com
Thu Mar 27 15:05:35 UTC 2014


On 03/24/2014 11:20 AM, Cédric Bosdonnat wrote:
> ---
>  src/security/virt-aa-helper.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

ACK and pushed.

> 
> diff --git a/src/security/virt-aa-helper.c b/src/security/virt-aa-helper.c
> index b8b0610..59de517 100644
> --- a/src/security/virt-aa-helper.c
> +++ b/src/security/virt-aa-helper.c
> @@ -1281,7 +1281,9 @@ main(int argc, char **argv)
>              if (vah_add_file(&buf, ctl->newfile, "rw") != 0)
>                  goto cleanup;
>          } else {
> -            if (ctl->def->virtType == VIR_DOMAIN_VIRT_QEMU) {
> +            if (ctl->def->virtType == VIR_DOMAIN_VIRT_QEMU ||
> +                ctl->def->virtType == VIR_DOMAIN_VIRT_KQEMU ||
> +                ctl->def->virtType == VIR_DOMAIN_VIRT_KVM) {
>                  virBufferAsprintf(&buf, "  \"%s/log/libvirt/**/%s.log\" w,\n",
>                                    LOCALSTATEDIR, ctl->def->name);
>                  virBufferAsprintf(&buf, "  \"%s/lib/libvirt/**/%s.monitor\" rw,\n",
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140327/74056367/attachment-0001.sig>


More information about the libvir-list mailing list