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

Daniel P. Berrange berrange at redhat.com
Sun Dec 11 22:38:26 UTC 2011


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
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list