libvirt/src/util
Michal Privoznik 2249455654 virdevmapper: Don't use libdevmapper to obtain dependencies
CVE-2020-14339

When building domain's private /dev in a namespace, libdevmapper
is consulted for getting full dependency tree of domain's disks.
The reason is that for a multipath devices all dependent devices
must be created in the namespace and allowed in CGroups.

However, this approach is very fragile as building of namespace
happens in the forked off child process, after mass close of FDs
and just before dropping privileges and execing QEMU. And it so
happens that when calling libdevmapper APIs, one of them opens
/dev/mapper/control and saves the FD into a global variable. The
FD is kept open until the lib is unlinked or dm_lib_release() is
called explicitly. We are doing neither.

However, the virDevMapperGetTargets() function is called also
from libvirtd (when setting up CGroups) and thus has to be thread
safe. Unfortunately, libdevmapper APIs are not thread safe (nor
async signal safe) and thus we can't use them. Reimplement what
libdevmapper would do using plain C (ioctl()-s, /proc/devices
parsing, /dev/mapper dirwalking, and so on).

Fixes: a30078cb83
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1858260

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2020-07-25 11:14:39 +02:00
..
glibcompat.c util: introduce compile time API version checking 2020-01-07 14:42:26 +00:00
glibcompat.h util: add compat impl of g_canonicalize_filename 2020-01-07 14:42:26 +00:00
iohelper.c Remove virutil.h where possible 2020-02-24 23:15:49 +01:00
Makefile.inc.am src: util: Makefile: drop undefined OPENPTY_LIBS 2020-07-10 09:40:50 +02:00
viralloc.c VIR_FREE: Replace internals by g_clear_pointer 2020-03-05 16:22:27 +01:00
viralloc.h VIR_FREE: Replace internals by g_clear_pointer 2020-03-05 16:22:27 +01:00
virarch.c util: add a virArchFromHost() impl for Windows 2020-01-29 14:51:39 +00:00
virarch.h Add a space before ending a comment 2020-01-30 12:32:03 +01:00
virarptable.c src: convert all code to use virsocket.h 2020-01-29 14:51:40 +00:00
virarptable.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
viraudit.c Use g_strerror instead of virStrerror 2020-03-13 17:26:55 +01:00
viraudit.h Use G_GNUC_PRINTF instead of ATTRIBUTE_FMT_PRINTF 2019-10-15 16:14:18 +02:00
virauth.c util: Fix memory leak in virAuthGetCredential 2020-06-16 15:01:05 +02:00
virauth.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virauthconfig.c util: Fix memory leak in virAuthConfigLookup 2020-06-16 15:01:05 +02:00
virauthconfig.h util: Fix memory leak in virAuthGetCredential 2020-06-16 15:01:05 +02:00
virbitmap.c util: use g_auto() for all virBuffers 2020-07-08 16:34:26 -04:00
virbitmap.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virbpf.c virbpf: Set errno instead of reporting errors 2020-03-10 17:10:57 +01:00
virbpf.h util: introduce virbpf helpers 2019-11-15 12:58:00 +01:00
virbuffer.c virBufferTrim: do not accept len 2020-02-03 19:44:38 +01:00
virbuffer.h src: fix word spell typos 2020-07-09 10:01:41 +02:00
vircgroup.c cgroup: remove use of the term 'whitelist' from cgroup code 2020-06-26 15:37:51 +01:00
vircgroup.h util: vircgroup: include unistd.h rather than virutil.h 2020-02-24 23:15:49 +01:00
vircgroupbackend.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
vircgroupbackend.h vircgroup: workaround devices in hybrid mode 2019-11-15 12:58:43 +01:00
vircgrouppriv.h vircgroup: introduce virCgroupV2DevicesAttachProg 2019-11-15 12:58:05 +01:00
vircgroupv1.c util: vircgroup: include unistd.h rather than virutil.h 2020-02-24 23:15:49 +01:00
vircgroupv1.h util: cgroup: use #pragma once in headers 2019-06-19 17:12:32 +02:00
vircgroupv2.c util: vircgroup: include unistd.h rather than virutil.h 2020-02-24 23:15:49 +01:00
vircgroupv2.h util: cgroup: use #pragma once in headers 2019-06-19 17:12:32 +02:00
vircgroupv2devices.c virCgroupV2DevicesAvailable: Print stringified errno in the debug log 2020-03-10 17:10:21 +01:00
vircgroupv2devices.h vircgroupv2devices: Unexport virCgroupV2DevicesAttachProg() 2020-01-06 17:30:17 +01:00
vircommand.c src: fix word spell typos 2020-07-09 10:01:41 +02:00
vircommand.h Fix some wrong usage of ATTRIBUTE_NONNULL() 2020-06-09 11:39:07 +02:00
vircommandpriv.h util: command: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virconf.c util: use g_auto() for all virBuffers 2020-07-08 16:34:26 -04:00
virconf.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
vircrypto.c src: replace verify(expr) with G_STATIC_ASSERT(expr) 2020-01-17 10:02:01 +00:00
vircrypto.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
virdaemon.c util: Do not include sys/wait.h on Win32 2020-04-17 21:30:10 +02:00
virdaemon.h util: introduce shared daemon startup code 2020-03-27 16:22:49 +01:00
virdbus.c util: remove unneeded cleanup labels 2019-11-12 17:54:01 +01:00
virdbus.h Revert "dbus: correctly build reply message" 2019-09-10 09:47:13 +02:00
virdbuspriv.h util: dbus: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virdevmapper.c virdevmapper: Don't use libdevmapper to obtain dependencies 2020-07-25 11:14:39 +02:00
virdevmapper.h util: Move virIsDevMapperDevice() to virdevmapper.c 2020-06-15 14:50:46 +02:00
virdnsmasq.c src: fix word spell typos 2020-07-09 10:01:41 +02:00
virdnsmasq.h util: define g_autoptr cleanups for a couple dnsmasq objects 2020-07-20 19:08:07 -04:00
virebtables.c eliminate unnecessary labels and ret variables 2020-07-08 16:36:22 -04:00
virebtables.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virendian.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virenum.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virenum.h src: replace verify(expr) with G_STATIC_ASSERT(expr) 2020-01-17 10:02:01 +00:00
virerror.c util: remove virStrerror 2020-03-13 17:26:55 +01:00
virerror.h util: remove virStrerror 2020-03-13 17:26:55 +01:00
virerrorpriv.h util: error: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virevent.c util: switch to use the GLib event loop impl 2020-02-07 15:03:53 +00:00
virevent.h event: add API for requiring an event loop impl to be registered 2019-12-18 14:04:59 +00:00
vireventglib.c util: import an event loop impl based on GMainContext 2020-02-07 15:03:53 +00:00
vireventglib.h util: import an event loop impl based on GMainContext 2020-02-07 15:03:53 +00:00
vireventglibwatch.c util: vireventglibwatch: watch for G_IO_HUP and G_IO_ERR 2020-02-24 03:19:25 +01:00
vireventglibwatch.h src: introduce helper API for creating GSource for socket 2020-02-07 15:03:53 +00:00
vireventthread.c src: introduce an abstraction for running event loops 2020-03-11 14:44:04 +00:00
vireventthread.h src: introduce an abstraction for running event loops 2020-03-11 14:44:04 +00:00
virfcp.c util: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:59 +02:00
virfcp.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virfdstream.c src: make virObjectUnref return void 2020-06-03 10:20:17 +01:00
virfdstream.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virfile.c util: add a helper method for controlling the COW flag on btrfs 2020-07-23 16:18:08 +01:00
virfile.h util: add a helper method for controlling the COW flag on btrfs 2020-07-23 16:18:08 +01:00
virfilecache.c util: use g_auto() for all virBuffers 2020-07-08 16:34:26 -04:00
virfilecache.h qemu: don't continue loading caps if outdated 2020-06-23 17:33:30 +01:00
virfirewall.c util: use g_auto() for all virBuffers 2020-07-08 16:34:26 -04:00
virfirewall.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virfirewalld.c Use g_autofree instead of VIR_AUTOFREE 2019-10-16 12:06:43 +02:00
virfirewalld.h util: firewall: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virfirewalldpriv.h util: firewall: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virfirewallpriv.h util: firewall: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virfirmware.c util: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:59 +02:00
virfirmware.h Use G_DEFINE_AUTOPTR_CLEANUP_FUNC instead of VIR_DEFINE_AUTOPTR_FUNC 2019-10-16 12:06:43 +02:00
virgettext.c src: optionally include xlocale.h header 2020-02-04 14:00:45 +00:00
virgettext.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virgic.c Remove virutil.h where possible 2020-02-24 23:15:49 +01:00
virgic.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
virhash.c virHashAddOrUpdateEntry: Simplify allocation of new entry 2020-02-04 13:45:33 +01:00
virhash.h virhash: Fix the expectations of virHashKeyEqual implementations 2020-02-04 13:45:33 +01:00
virhashcode.c Use G_GNUC_FALLTHROUGH instead of ATTRIBUTE_FALLTHROUGH 2019-10-15 16:14:19 +02:00
virhashcode.h Use G_GNUC_NO_INLINE instead of ATTRIBUTE_NOINLINE 2019-10-15 16:14:18 +02:00
virhook.c util: fix accessibility check for hook directory 2020-07-09 17:49:27 +02:00
virhook.h bhyve: add hooks 2020-02-24 17:25:07 +00:00
virhostcpu.c src: fix word spell typos 2020-07-09 10:01:41 +02:00
virhostcpu.h virhostcpu.c: introduce virHostCPUGetAvailableCPUsBitmap() 2020-07-08 19:39:41 +02:00
virhostcpupriv.h hostcpu: Introduce virHostCPUGetSignature 2020-05-25 16:09:41 +02:00
virhostmem.c src: remove unused sys/utsname.h includes 2020-01-29 14:51:39 +00:00
virhostmem.h util: host: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virhostuptime.c virhostuptime: Introduce virHostBootTimeInit() 2020-01-07 17:00:10 +01:00
virhostuptime.h virhostuptime: Introduce virHostBootTimeInit() 2020-01-07 17:00:10 +01:00
viridentity.c Substitute security_context_t with char * 2020-07-15 14:31:07 +02:00
viridentity.h util: convert virIdentity class to use GObject 2019-10-14 10:54:42 +01:00
virinitctl.c src: replace verify(expr) with G_STATIC_ASSERT(expr) 2020-01-17 10:02:01 +00:00
virinitctl.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
viriptables.c eliminate unnecessary labels and ret variables 2020-07-08 16:36:22 -04:00
viriptables.h network: allow DHCP/DNS/TFTP explicitly in OUTPUT rules 2019-10-18 18:49:54 +01:00
viriscsi.c Remove all the uses that use subtraction in their length argument 2019-12-12 14:24:35 +01:00
viriscsi.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
virjson.c util: json: Introduce virJSONValueObjectAppendStringPrintf 2020-05-20 09:41:57 +02:00
virjson.h util: json: Introduce virJSONValueObjectAppendStringPrintf 2020-05-20 09:41:57 +02:00
virkeycode.c src: replace verify(expr) with G_STATIC_ASSERT(expr) 2020-01-17 10:02:01 +00:00
virkeycode.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
virkmod.c util: rename method to virKModIsProhibited 2020-06-26 15:39:33 +01:00
virkmod.h util: rename method to virKModIsProhibited 2020-06-26 15:39:33 +01:00
virlease.c util: json: Convert virJSONValueNewObject() to g_new0 2020-03-05 11:31:38 +01:00
virlease.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virlockspace.c Use g_strerror instead of virStrerror 2020-03-13 17:26:55 +01:00
virlockspace.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virlog.c util: use g_auto() for all virBuffers 2020-07-08 16:34:26 -04:00
virlog.h util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virmacaddr.c Remove all use of virHexToBin 2020-02-24 20:25:48 +01:00
virmacaddr.h src: replace verify(expr) with G_STATIC_ASSERT(expr) 2020-01-17 10:02:01 +00:00
virmacmap.c virmacmap: Use g_autofree in virMacMapWriteFileLocked 2020-03-05 18:06:21 +01:00
virmacmap.h util: mac: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virmdev.c nodedev: add support for mdev attributes 2020-06-19 10:39:54 +02:00
virmdev.h nodedev: add support for mdev attributes 2020-06-19 10:39:54 +02:00
virmodule.c virsh: include virutil.h where used 2020-02-24 23:15:50 +01:00
virmodule.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virnetdev.c src: fix word spell typos 2020-07-09 10:01:41 +02:00
virnetdev.h Include <sys/socket.h> before including <net/if.h> 2020-07-20 09:41:23 +00:00
virnetdevbandwidth.c src: add virutil.h to more source files for geteuid() compat 2020-02-25 10:02:15 +00:00
virnetdevbandwidth.h conf: make virDomainNetGetActualBandwidth arg/return value const 2019-11-25 15:29:51 -05:00
virnetdevbridge.c Remove virutil.h where possible 2020-02-24 23:15:49 +01:00
virnetdevbridge.h util: query/set BR_ISOLATED flag on netdevs attached to bridge 2020-02-20 23:07:53 -05:00
virnetdevip.c util: refactor code to workaround gcc 10.1.0 bug 2020-07-23 14:57:54 +01:00
virnetdevip.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virnetdevmacvlan.c src: convert all code to use virsocket.h 2020-01-29 14:51:40 +00:00
virnetdevmacvlan.h conf: return a const from virDomainNetGetActualVirtPortProfile 2019-11-25 15:29:56 -05:00
virnetdevmidonet.c src: util: rename some program macros 2020-07-10 09:40:45 +02:00
virnetdevmidonet.h conf: return a const from virDomainNetGetActualVirtPortProfile 2019-11-25 15:29:56 -05:00
virnetdevopenvswitch.c src: util: rename some program macros 2020-07-10 09:40:45 +02:00
virnetdevopenvswitch.h conf: return a const from virDomainNetGetActualVirtPortProfile 2019-11-25 15:29:56 -05:00
virnetdevtap.c src: fix word spell typos 2020-07-09 10:01:41 +02:00
virnetdevtap.h qemu/lxc: plumb isolatedPort from config down through bridge attachment 2020-02-20 23:13:15 -05:00
virnetdevveth.c Remove virutil.h where possible 2020-02-24 23:15:49 +01:00
virnetdevveth.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
virnetdevvlan.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virnetdevvlan.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
virnetdevvportprofile.c Add a space before ending a comment 2020-01-30 12:32:03 +01:00
virnetdevvportprofile.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
virnetlink.c src: Fix boolean assignment 2020-05-05 13:08:57 +02:00
virnetlink.h m4: virt-libnl: drop libnl-1.0 support 2019-10-23 14:30:47 +02:00
virnodesuspend.c src: improve thread naming with human targetted names 2020-03-05 12:23:04 +00:00
virnodesuspend.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virnuma.c virsh: include virutil.h where used 2020-02-24 23:15:50 +01:00
virnuma.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
virnvme.c util: Introduce virNVMeDevice module 2019-12-17 10:04:43 +01:00
virnvme.h virhostdev: Include virNVMeDevice module 2019-12-17 10:04:43 +01:00
virobject.c src: make virObject inherit from GObject 2020-06-03 10:20:17 +01:00
virobject.h src: make virObject inherit from GObject 2020-06-03 10:20:17 +01:00
virpci.c qemu: move ZPCI uid validation into device validation 2020-06-26 18:53:51 +02:00
virpci.h qemu: move ZPCI uid validation into device validation 2020-06-26 18:53:51 +02:00
virperf.c Include unistd.h where used 2020-02-24 23:15:50 +01:00
virperf.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
virpidfile.c util: use g_auto() for all virBuffers 2020-07-08 16:34:26 -04:00
virpidfile.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
virpolkit.c virsh: include virutil.h where used 2020-02-24 23:15:50 +01:00
virpolkit.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virportallocator.c util: virportallocator: add includes 2020-02-24 23:15:49 +01:00
virportallocator.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virprobe.h util: virprobe.h: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virprocess.c lxc: replace use of term 'slave' filesystem mount setup 2020-06-26 15:39:34 +01:00
virprocess.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
virqemu.c src: fix word spell typos 2020-07-09 10:01:41 +02:00
virqemu.h qemu: Prepare for testing of 'netdev_add' props via qemuxml2argvtest 2020-05-20 09:41:58 +02:00
virrandom.c Remove virutil.h where possible 2020-02-24 23:15:49 +01:00
virrandom.h Use G_GNUC_NO_INLINE instead of ATTRIBUTE_NOINLINE 2019-10-15 16:14:18 +02:00
virresctrl.c resctrl: Do not open directory for writing 2020-07-09 13:45:01 +02:00
virresctrl.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
virresctrlpriv.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virrotatingfile.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virrotatingfile.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virscsi.c Remove virutil.h where possible 2020-02-24 23:15:49 +01:00
virscsi.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virscsihost.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virscsihost.h util: scsi: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virscsivhost.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virscsivhost.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
virseclabel.c virSecurityDeviceLabelDefNew: Avoid NULL dereference 2020-03-30 16:14:23 +02:00
virseclabel.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virsecret.c virSecretLookupDefCopy: Remove return value 2020-03-20 09:47:16 +01:00
virsecret.h virSecretLookupDefCopy: Remove return value 2020-03-20 09:47:16 +01:00
virsocket.c src: implement APIs for passing FDs over UNIX sockets 2020-01-29 14:51:39 +00:00
virsocket.h gnulib: delete all gnulib integration 2020-02-07 15:03:54 +00:00
virsocketaddr.c util: eliminate unnecessary labels 2020-07-08 16:35:48 -04:00
virsocketaddr.h src: convert all code to use virsocket.h 2020-01-29 14:51:40 +00:00
virstorageencryption.c Remove use of variables passed only to 'VIR_FREE' 2020-06-15 10:27:37 +02:00
virstorageencryption.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
virstoragefile.c virStorageSourceFindByNodeName: Remove unused 'idx' argument 2020-07-21 09:52:46 +02:00
virstoragefile.h virStorageSourceFindByNodeName: Remove unused 'idx' argument 2020-07-21 09:52:46 +02:00
virstoragefilebackend.c Fix names for abs_top_{src,build}dir variables 2019-03-14 10:05:28 +01:00
virstoragefilebackend.h util: storage: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virstring.c util: use g_auto() for all virBuffers 2020-07-08 16:34:26 -04:00
virstring.h src: replace use of INT_BUFSIZE_BOUND macros 2020-01-17 09:58:43 +00:00
virsysinfo.c src: fix word spell typos 2020-07-09 10:01:41 +02:00
virsysinfo.h conf: Add firmware blob configuration 2020-06-10 14:00:38 +02:00
virsysinfopriv.h virsysinfo: Drop global @sysinfoDmidecode 2020-06-10 14:00:38 +02:00
virsystemd.c src: fix word spell typos 2020-07-09 10:01:41 +02:00
virsystemd.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virsystemdpriv.h util: cache the result of whether logind is available 2019-08-14 16:22:13 +02:00
virthread.c virthread: Free thread name only after worker has finished 2020-03-06 16:47:20 +01:00
virthread.h src: set the OS level thread name 2020-03-05 12:23:02 +00:00
virthreadjob.c Require a semicolon for VIR_ONCE_GLOBAL_INIT calls 2019-02-03 17:46:29 -05:00
virthreadjob.h util: thread: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virthreadpool.c src: improve thread naming with human targetted names 2020-03-05 12:23:04 +00:00
virthreadpool.h src: improve thread naming with human targetted names 2020-03-05 12:23:04 +00:00
virtime.c src: Fix boolean assignment 2020-05-05 13:08:57 +02:00
virtime.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
virtpm.c src: fix word spell typos 2020-07-09 10:01:41 +02:00
virtpm.h Use G_GNUC_NO_INLINE instead of ATTRIBUTE_NOINLINE 2019-10-15 16:14:18 +02:00
virtypedparam-public.c util: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:59 +02:00
virtypedparam.c Remove virutil.h where possible 2020-02-24 23:15:49 +01:00
virtypedparam.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
viruri.c util: use g_auto() for all virBuffers 2020-07-08 16:34:26 -04:00
viruri.h util: add helper API for getting URI parameters 2020-01-27 11:02:03 +00:00
virusb.c Remove virutil.h where possible 2020-02-24 23:15:49 +01:00
virusb.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virutil.c replace g_new() with g_new0() for consistency 2020-07-20 19:08:07 -04:00
virutil.h util: Introduce a parser for kernel cmdline arguments 2020-06-16 09:43:34 +02:00
viruuid.c util: uuid: remove use of virHexToBin 2020-02-24 20:25:48 +01:00
viruuid.h Use G_GNUC_NO_INLINE instead of ATTRIBUTE_NOINLINE 2019-10-15 16:14:18 +02:00
virvhba.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virvhba.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virvsock.c src: conditionalize / remove use of sys/ioctl.h 2020-01-17 13:16:58 +00:00
virvsock.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virxdrdefs.h src: remove all traces of Cygwin support 2020-01-29 14:51:40 +00:00
virxml.c util: eliminate unnecessary labels 2020-07-08 16:35:48 -04:00
virxml.h conf: Move and rename virDomainParseScaledValue() 2020-07-08 12:05:24 +02:00