Re: [PATCHv2 1/2] Don't output libvirt-UUID.files for LXC apparmor profiles

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

 



On 07/11/2014 07:01 AM, Cédric Bosdonnat wrote:
> ---
>  src/security/virt-aa-helper.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/src/security/virt-aa-helper.c b/src/security/virt-aa-helper.c
> index b5f66f3..c8f17f9 100644
> --- a/src/security/virt-aa-helper.c
> +++ b/src/security/virt-aa-helper.c
> @@ -1342,10 +1342,13 @@ main(int argc, char **argv)
>              vah_info(include_file);
>              vah_info(included_files);
>              rc = 0;
> +        } else if (ctl->def->virtType == VIR_DOMAIN_VIRT_LXC) {
> +            rc = 0;
>          } else if ((rc = update_include_file(include_file,
>                                               included_files,
> -                                             ctl->append)) != 0)
> +                                             ctl->append)) != 0) {
>              goto cleanup;
> +        }

I squashed this on top of a revert of v1, since I had pushed that before
realizing you had posted a v2, and pushed the result.

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