libvirt/src/util
Daniel P. Berrange 1b854c76c7 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>
2014-09-24 15:29:22 +01:00
..
iohelper.c
keymaps.csv
viralloc.c maint: use consistent if-else braces in remaining spots 2014-09-04 14:34:03 -06:00
viralloc.h util: forbid freeing const pointers 2014-07-16 06:48:53 -06:00
virarch.c
virarch.h nodeinfo: Introduce @arch to linuxNodeInfoCPUPopulate 2014-06-20 15:46:52 +02:00
viratomic.c
viratomic.h
viraudit.c audit: fix memory leak without WITH_AUDIT 2014-09-18 14:49:01 +02:00
viraudit.h util: use typedefs for enums in "src/util/" directory 2014-05-05 14:30:01 -06:00
virauth.c
virauth.h
virauthconfig.c
virauthconfig.h
virbitmap.c numatune: Fix parsing of empty nodeset (0,^0) 2014-08-12 17:04:31 +02:00
virbitmap.h virbitmap: Introduce virBitmapOverlaps 2014-07-29 12:00:42 +01:00
virbuffer.c maint: use consistent if-else braces in remaining spots 2014-09-04 14:34:03 -06:00
virbuffer.h maint: fix comment typo 2014-08-23 14:29:24 -06:00
vircgroup.c vircgroup: Fix broken builds without cgroups 2014-09-15 14:48:52 -04:00
vircgroup.h vircgroup: Introduce virCgroupNewIOThread 2014-09-15 13:18:56 -04:00
vircgrouppriv.h
virclosecallbacks.c hash: add common utility functions 2014-04-07 06:14:45 -06:00
virclosecallbacks.h
vircommand.c util: don't shadow global umask declaration 2014-09-03 15:39:15 +02:00
vircommand.h qemu: ensure sane umask for qemu process 2014-09-03 05:58:15 -06:00
vircommandpriv.h
virconf.c Use virBufferCheckError everywhere we report OOM error 2014-07-03 10:48:14 +02:00
virconf.h
vircrypto.c
vircrypto.h
virdbus.c maint: use consistent if-else braces in remaining spots 2014-09-04 14:34:03 -06:00
virdbus.h virdbus: Make virDBusCall static 2014-05-06 11:22:13 -04:00
virdbuspriv.h
virdnsmasq.c cleanup spaces between parentheses and braces 2014-08-20 14:50:21 +02:00
virdnsmasq.h
virebtables.c Convert ebtables code over to use firewall APIs 2014-04-25 15:44:09 +01:00
virebtables.h
virendian.h
virerror.c Add common API for doing polkit authentication 2014-09-24 15:29:22 +01:00
virerror.h virdbus: Remove redundant error macro 2014-05-21 09:33:24 -04:00
virevent.c
virevent.h
vireventpoll.c virEventPollDispatchHandles: Honour array boundaries 2014-07-09 10:22:51 +02:00
vireventpoll.h
virfile.c virfile: Resolve Coverity RESOURCE_LEAK 2014-09-12 06:12:50 -04:00
virfile.h Introduce virFileFindHugeTLBFS 2014-07-29 11:25:16 +01:00
virfirewall.c virfirewall: fix build on freebsd 2014-04-30 08:51:29 +02:00
virfirewall.h Remove bogus ATTRIBUTE_NONNULL from virFirewallAddRuleFull 2014-04-28 14:27:40 +01:00
virfirewallpriv.h Introduce an object for managing firewall rulesets 2014-04-25 15:44:09 +01:00
virhash.c hash: add common utility functions 2014-04-07 06:14:45 -06:00
virhash.h hash: add common utility functions 2014-04-07 06:14:45 -06:00
virhashcode.c
virhashcode.h
virhook.c qemu: hook: Provide hook when restoring a domain save image 2014-09-22 17:11:56 +02:00
virhook.h qemu: hook: Provide hook when restoring a domain save image 2014-09-22 17:11:56 +02:00
virhostdev.c hostdev: Introduce virDomainHostdevSubsysSCSIiSCSI 2014-07-24 07:04:44 -04:00
virhostdev.h
viridentity.c
viridentity.h
virinitctl.c
virinitctl.h util: use typedefs for enums in "src/util/" directory 2014-05-05 14:30:01 -06:00
viriptables.c Convert bridge driver over to use new firewall APIs 2014-04-25 15:44:09 +01:00
viriptables.h Convert bridge driver over to use new firewall APIs 2014-04-25 15:44:09 +01:00
viriscsi.c
viriscsi.h
virjson.c util: json: Add helpers for manipulating json arrays 2014-06-17 08:51:41 +02:00
virjson.h util: json: Add helpers for manipulating json arrays 2014-06-17 08:51:41 +02:00
virkeycode-mapgen.py
virkeycode.c
virkeycode.h
virkeyfile.c hash: add common utility functions 2014-04-07 06:14:45 -06:00
virkeyfile.h
virkmod.c
virkmod.h
virlockspace.c
virlockspace.h
virlog.c
virlog.h
virmacaddr.c
virmacaddr.h
virnetdev.c maint: use hanging curly braces 2014-09-04 15:18:43 -06:00
virnetdev.h virnetdev: Introduce virNetDevGetLinkInfo 2014-06-11 09:57:39 +02:00
virnetdevbandwidth.c util: compare floor attribute in virNetDevBandwidthEqual 2014-08-22 12:35:39 +02:00
virnetdevbandwidth.h
virnetdevbridge.c
virnetdevbridge.h
virnetdevmacvlan.c maint: use hanging curly braces 2014-09-04 15:18:43 -06:00
virnetdevmacvlan.h util: Introduce flags field for macvtap creation 2014-09-02 13:34:32 +02:00
virnetdevopenvswitch.c openvswitch: Delete port if it exists while adding a new one 2014-07-14 12:49:30 +02:00
virnetdevopenvswitch.h
virnetdevtap.c Wire up the interface backend options 2014-09-16 16:02:34 +02:00
virnetdevtap.h Wire up the interface backend options 2014-09-16 16:02:34 +02:00
virnetdevveth.c Use a static initializer for static mutexes 2014-04-08 13:46:29 +01:00
virnetdevveth.h
virnetdevvlan.c
virnetdevvlan.h
virnetdevvportprofile.c maint: use consistent if-else braces in remaining spots 2014-09-04 14:34:03 -06:00
virnetdevvportprofile.h util: use typedefs for enums in "src/util/" directory 2014-05-05 14:30:01 -06:00
virnetlink.c util: refactor virNetlinkCommand to fix several bugs / style problems 2014-05-20 11:21:00 +03:00
virnetlink.h
virnodesuspend.c build: Don't use code with dbus_message_unref when built without dbus 2014-04-14 18:19:36 +02:00
virnodesuspend.h
virnuma.c nodeCapsInitNUMA: Avoid @cpumap leak 2014-08-20 16:15:00 +02:00
virnuma.h numatune: Encapsulate numatune configuration in order to unify results 2014-07-16 20:15:45 +02:00
virobject.c hash: add common utility functions 2014-04-07 06:14:45 -06:00
virobject.h hash: add common utility functions 2014-04-07 06:14:45 -06:00
virpci.c maint: use consistent if-else braces in remaining spots 2014-09-04 14:34:03 -06:00
virpci.h nodedev: fix pci express memory leak 2014-07-28 14:10:29 -06:00
virpidfile.c util: get rid of unnecessary umask() call 2014-09-15 09:49:34 +02:00
virpidfile.h remove redundant pidfile path constructions 2014-09-15 09:49:34 +02:00
virpolkit.c Add common API for doing polkit authentication 2014-09-24 15:29:22 +01:00
virpolkit.h Add common API for doing polkit authentication 2014-09-24 15:29:22 +01:00
virportallocator.c util: Allow port allocator to skip bind() check 2014-09-11 15:40:14 -06:00
virportallocator.h util: Allow port allocator to skip bind() check 2014-09-11 15:40:14 -06:00
virprobe.h
virprocess.c virprocess: Extend list of platforms for setns wrapper 2014-09-16 09:43:42 +02:00
virprocess.h
virrandom.c Use a static initializer for static mutexes 2014-04-08 13:46:29 +01:00
virrandom.h
virscsi.c Do not call closedir with NULL argument 2014-06-23 14:16:23 +02:00
virscsi.h
virseclabel.c virseclabel: Resolve Coverity FORWARD_NULL issue 2014-07-14 05:44:20 -04:00
virseclabel.h virSecurityDeviceLabelDef: substitute 'norelabel' with 'relabel' 2014-07-11 10:36:02 +02:00
virsexpr.c util: Check return value from virStrToLong* functions 2014-07-21 15:20:59 +02:00
virsexpr.h
virsocketaddr.c maint: use consistent if-else braces in remaining spots 2014-09-04 14:34:03 -06:00
virsocketaddr.h
virstats.c maint: clean up _virDomainInterfaceStats 2014-09-17 11:28:48 -06:00
virstats.h maint: clean up _virDomainInterfaceStats 2014-09-17 11:28:48 -06:00
virstorageencryption.c cleanup spaces between parentheses and braces 2014-08-20 14:50:21 +02:00
virstorageencryption.h storage: encryption: Add deep copy function for storage encryption 2014-06-20 09:14:46 +02:00
virstoragefile.c util: storage: Copy driver type when initializing chain element 2014-09-16 18:04:22 +02:00
virstoragefile.h util: Add function to check if a virStorageSource is "empty" 2014-09-12 09:37:37 +02:00
virstring.c virstring: Resolve Coverity FORWARD_NULL 2014-09-11 08:10:13 -04:00
virstring.h util: Check return value from virStrToLong* functions 2014-07-21 15:20:59 +02:00
virsysinfo.c Use virBufferCheckError everywhere we report OOM error 2014-07-03 10:48:14 +02:00
virsysinfo.h util: use typedefs for enums in "src/util/" directory 2014-05-05 14:30:01 -06:00
virsystemd.c Use virBufferCheckError everywhere we report OOM error 2014-07-03 10:48:14 +02:00
virsystemd.h Introduce --without-pm-utils to get rid of pm-is-supported dependency 2014-04-11 15:51:10 -06:00
virthread.c
virthread.h Use a static initializer for static mutexes 2014-04-08 13:46:29 +01:00
virthreadpool.c
virthreadpool.h
virtime.c virtime: Resolve Coverity DEADCODE 2014-09-15 10:44:27 -04:00
virtime.h util: virTimeFieldsThenRaw never returns negative 2014-07-25 12:06:07 +02:00
virtpm.c
virtpm.h
virtypedparam.c maint: use hanging curly braces 2014-09-04 15:18:43 -06:00
virtypedparam.h
viruri.c maint: use consistent if-else braces in remaining spots 2014-09-04 14:34:03 -06:00
viruri.h
virusb.c usb: Remove redundant comment 2014-07-03 10:41:15 +02:00
virusb.h
virutil.c virutil: Resolve Coverity RESOURCE_LEAK 2014-09-12 06:12:50 -04:00
virutil.h util: let virSetSockReuseAddr report unified error message 2014-09-09 15:14:24 +02:00
viruuid.c
viruuid.h
virxml.c Fix libvirtd crash when removing metadata 2014-09-18 14:46:40 +02:00
virxml.h