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

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

 



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

Attachment: signature.asc
Description: OpenPGP digital signature

--
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]