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

Re: [libvirt] [PATCH] security: Fix labelling host devices (bz 1145968)



On 09/24/2014 09:49 AM, Cole Robinson wrote:
> The check for ISCSI devices was missing a check of subsys type, which
> meant we could skip labelling of other host devices as well. This fixes
> USB hotplug on F21
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1145968
> ---
>  src/security/security_apparmor.c | 3 ++-
>  src/security/security_dac.c      | 6 ++++--
>  src/security/security_selinux.c  | 6 ++++--
>  3 files changed, 10 insertions(+), 5 deletions(-)

ACK.

Might be worth a helper function to cut down on the repetition, but
that's not mandatory.

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

Attachment: signature.asc
Description: OpenPGP digital signature


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