]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Add common API for doing polkit authentication
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 22 Aug 2013 13:27:19 +0000 (14:27 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 24 Sep 2014 14:29:22 +0000 (15:29 +0100)
commit1b854c76c76b5cb496243653f311bd87ca1e745f
tree179bbf7546017f002bedb2220b6c5c6218d900ea
parent2d79e1752a0609eb17eef06223e4645f79fbb2cd
Add common API for doing polkit authentication

There are now two places in libvirt which use polkit. Currently
they use pkexec, which is set to be replaced by direct DBus API
calls. Add a common API which they will both be able to use for
this purpose.

No tests are added at this time, since the impl will be gutted
in favour of a DBus API call shortly.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
include/libvirt/virterror.h
po/POTFILES.in
src/Makefile.am
src/libvirt_private.syms
src/util/virerror.c
src/util/virpolkit.c [new file with mode: 0644]
src/util/virpolkit.h [new file with mode: 0644]