mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05:00
Convert polkit code to use DBus API instead of CLI helper
Spawning the pkcheck program every time a permission check is required is hugely expensive on CPU. The pkcheck program is just a dumb wrapper for the DBus API, so rewrite the code to use the DBus API directly. This also simplifies error handling a bit. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
@@ -236,6 +236,7 @@ src/xenapi/xenapi_utils.c
|
||||
src/xenconfig/xen_common.c
|
||||
src/xenconfig/xen_sxpr.c
|
||||
src/xenconfig/xen_xm.c
|
||||
tests/virpolkittest.c
|
||||
tools/libvirt-guests.sh.in
|
||||
tools/virsh.c
|
||||
tools/virsh.h
|
||||
|
||||
Reference in New Issue
Block a user