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

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



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


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