]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add access control filtering of interface objects
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 27 Jun 2013 16:07:22 +0000 (17:07 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 3 Jul 2013 14:54:54 +0000 (15:54 +0100)
commit71f2434fe79c88d75f6236e82998a04f3dee26ff
tree5a035f3d1b2d6ee273c8e21bfc48100777b0d90e
parent70b1573fc1c4e3b6aeb436f085f8d80d89e11f87
Add access control filtering of interface objects

Ensure that all APIs which list interface objects filter
them against the access control system.

This makes the APIs for listing names and counting devices
slightly less efficient, since we can't use the direct
netcf APIs for these tasks. Instead we have to ask netcf
for the full list of objects & iterate over the list
filtering them out.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/conf/interface_conf.h
src/interface/interface_backend_netcf.c
src/interface/interface_backend_udev.c