[libvirt] [PATCH 4/6] security: Ignore to manage the volume type disk if its mode is uri

Daniel P. Berrange berrange at redhat.com
Fri Jun 21 16:26:53 UTC 2013


On Tue, Jun 18, 2013 at 04:36:40PM +0800, Osier Yang wrote:
> It's straightforward to not manage security labels for remote URI
> like "iscsi://example.org:6000/iqn.1992-01.com.example/1".
> ---
>  src/security/security_apparmor.c | 10 ++++++++--
>  src/security/security_dac.c      | 10 ++++++++--
>  src/security/security_selinux.c  | 10 ++++++++--
>  3 files changed, 24 insertions(+), 6 deletions(-)

You should be extending tests/securityselinuxlabeldata/disks.xml so that
it covers these new types of disk, or perhaps better adding a new data
file covering all the various network disk models.

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