]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Add a policy kit access control driver
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 23 Jan 2012 15:12:57 +0000 (15:12 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 24 Jun 2013 14:24:36 +0000 (15:24 +0100)
commitb904bba7f4b48538fcd710dc27f96cc59b223473
tree649b012c99523532c1f9e5ac523c38847e2d8e05
parented3bac713c3cfc055ef551cbfe92a061084382c3
Add a policy kit access control driver

Add an access control driver that uses the pkcheck command
to check authorization requests. This is fairly inefficient,
particularly for cases where an API returns a list of objects
and needs to check permission for each object.

It would be desirable to use the polkit API but this links
to glib with abort-on-OOM behaviour, so can't be used. The
other alternative is to speak to dbus directly

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
.gitignore
daemon/libvirtd.conf
daemon/test_libvirtd.aug.in
po/POTFILES.in
src/Makefile.am
src/access/genpolkit.pl [new file with mode: 0755]
src/access/viraccessdriverpolkit.c [new file with mode: 0644]
src/access/viraccessdriverpolkit.h [new file with mode: 0644]
src/access/viraccessmanager.c