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

Cole Robinson crobinso at redhat.com
Wed Sep 24 21:27:41 UTC 2014


On 09/24/2014 03:59 PM, Eric Blake wrote:
> 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.
> 

Thanks, pushed now

- Cole




More information about the libvir-list mailing list