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

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

 



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

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