[libvirt] [PATCH] security: don't try to label network disks

Michal Privoznik mprivozn at redhat.com
Mon Dec 12 11:02:44 UTC 2011


On 11.12.2011 23:38, Daniel P. Berrange wrote:
> On Fri, Dec 09, 2011 at 07:49:40PM -0800, Josh Durgin wrote:
>> Network disks don't have paths to be resolved or files to be checked
>> for ownership. ee3efc41e6233e625aa03003bf3127319ccd546f checked this
>> for some image label functions, but was partially reverted in a
>> refactor.  This finishes adding the check to each security driver's
>> set and restore label methods for images.
>>
>> Signed-off-by: Josh Durgin <josh.durgin at dreamhost.com>
>> ---
>>  src/security/security_apparmor.c |    3 +++
>>  src/security/security_dac.c      |    6 ++++++
>>  src/security/security_selinux.c  |    3 +++
>>  3 files changed, 12 insertions(+), 0 deletions(-)
> 
> ACK
> 
> Daniel

I've pushed this.

Michal




More information about the libvir-list mailing list