libvirt/src/util
Ján Tomko 2b6cd85504 util: virNetDevTapCreate: initialize fd to -1
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Fixes: 95089f481e
2020-09-14 13:02:56 +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 lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
meson.build Fix linkage to libutil and libkvm on FreeBSD 11 2020-09-10 13:11:46 +01:00
viralloc.c VIR_FREE: Replace internals by g_clear_pointer 2020-03-05 16:22:27 +01:00
viralloc.h util: Remove VIR_REALLOC_N_QUIET 2020-09-11 18:19:59 +02:00
virarch.c util: add a virArchFromHost() impl for Windows 2020-01-29 14:51:39 +00:00
virarch.h Prefer https: for Wikipedia links 2020-09-01 21:58:45 +02:00
virarptable.c src: convert all code to use virsocket.h 2020-01-29 14:51:40 +00:00
virarptable.h
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
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 glib memory functions in virBitmapNewQuiet 2020-09-11 18:19:58 +02:00
virbitmap.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virbpf.c lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virbpf.h lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02: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 Use g_strfeev instead of virStringFreeList 2020-08-03 15:37:36 +02:00
vircgroup.h util: vircgroup: include unistd.h rather than virutil.h 2020-02-24 23:15:49 +01:00
vircgroupbackend.c
vircgroupbackend.h util: cgroup: wrap BACKEND_CALL macro in a block 2020-08-25 19:03:12 +02: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
vircgroupv2.c util: cgroup: remove unused opts in virCgroupV2BindMount 2020-08-03 15:52:09 +02:00
vircgroupv2.h
vircgroupv2devices.c lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
vircgroupv2devices.h vircgroupv2devices: Unexport virCgroupV2DevicesAttachProg() 2020-01-06 17:30:17 +01:00
vircommand.c util: command: do not return after abort 2020-08-03 15:19:29 +02:00
vircommand.h Fix some wrong usage of ATTRIBUTE_NONNULL() 2020-06-09 11:39:07 +02:00
vircommandpriv.h
virconf.c Use g_strfeev instead of virStringFreeList 2020-08-03 15:37:36 +02: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 Split declarations from initializations 2020-08-25 19:03:11 +02:00
virdaemon.h util: introduce shared daemon startup code 2020-03-27 16:22:49 +01:00
virdbus.c lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virdbus.h Revert "dbus: correctly build reply message" 2019-09-10 09:47:13 +02:00
virdbuspriv.h lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virdevmapper.c util: Use glib memory functions in virDevMapperGetTargetsImpl 2020-09-11 18:19:58 +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
virendian.h
virenum.c
virenum.h src: replace verify(expr) with G_STATIC_ASSERT(expr) 2020-01-17 10:02:01 +00:00
virerror.c util: Use glib memory functions in virSaveLastError 2020-09-11 18:19:58 +02:00
virerror.h util: remove virStrerror 2020-03-13 17:26:55 +01:00
virerrorpriv.h
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: avoid crash due to race in glib event loop code 2020-08-07 12:43:59 +01:00
vireventglib.h util: import an event loop impl based on GMainContext 2020-02-07 15:03:53 +00:00
vireventglibwatch.c util: keep track of full GSource object not source ID number 2020-08-07 12:43:56 +01:00
vireventglibwatch.h util: keep track of full GSource object not source ID number 2020-08-07 12:43:56 +01:00
vireventthread.c vireventthread: exit thread synchronously on finalize 2020-09-07 09:33:59 +03: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
virfdstream.c virfdstream: Emulate skip for block devices 2020-08-24 13:40:06 +02:00
virfdstream.h
virfile.c util: Use glib memory functions in virFileGetXAttrQuiet 2020-09-11 18:19:59 +02:00
virfile.h util: use host module suffix when loading drivers 2020-08-26 10:30:18 +02: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 Move debug statements after declarations 2020-08-25 19:03:11 +02: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
virfirewalldpriv.h
virfirewallpriv.h
virfirmware.c Use g_strfeev instead of virStringFreeList 2020-08-03 15:37:36 +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 lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virgettext.h
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 Prefer https: everywhere where possible 2020-09-01 21:58:46 +02:00
virhashcode.h Prefer https: everywhere where possible 2020-09-01 21:58:46 +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 lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virhostcpu.h domaincapsmock: mock virHostCPUGetMicrocodeVersion() 2020-08-25 19:44:43 +02:00
virhostcpupriv.h hostcpu: Introduce virHostCPUGetSignature 2020-05-25 16:09:41 +02:00
virhostmem.c lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virhostmem.h
virhostuptime.c lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02: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
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 Split declarations from initializations 2020-08-25 19:03:11 +02: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 Remove redundant conditions 2020-08-03 15:19:28 +02:00
virlease.h
virlockspace.c Use g_strerror instead of virStrerror 2020-03-13 17:26:55 +01:00
virlockspace.h
virlog.c util: Use glib memory functions in virLogFilterNew 2020-09-11 18:19:58 +02:00
virlog.h util: virlog: unexport virLogVMessage 2020-08-03 15:30:40 +02: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 Use g_strfeev instead of virStringFreeList 2020-08-03 15:37:36 +02:00
virmacmap.h
virmdev.c mdev: Fix daemon crash when reattaching mdevs on assignment conflict 2020-08-04 14:03:54 +02:00
virmdev.h nodedev: add support for mdev attributes 2020-06-19 10:39:54 +02:00
virmodule.c lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virmodule.h
virnetdev.c util: add device name in errors from ethtool ioctls 2020-09-04 14:02:34 +01:00
virnetdev.h lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02: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 lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virnetdevbridge.h util: query/set BR_ISOLATED flag on netdevs attached to bridge 2020-02-20 23:07:53 -05:00
virnetdevip.c network: Only check kernel added routes in virNetDevIPCheckIPv6Forwarding 2020-09-13 13:35:05 -04:00
virnetdevip.h util: remove unused virNetDevIPWaitDadFinish() 2020-09-10 11:47:35 -04:00
virnetdevmacvlan.c lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virnetdevmacvlan.h util: replace macvtap name reservation bitmap with a simple counter 2020-09-01 14:16:36 -04: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 util: virNetDevTapCreate: initialize fd to -1 2020-09-14 13:02:56 +02:00
virnetdevtap.h util: assign tap device names using a monotonically increasing integer 2020-09-01 14:16:44 -04: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
virnetdevvlan.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
virnetdevvportprofile.c util: vportprofile: remove unused constants 2020-08-03 07:23:45 +02:00
virnetdevvportprofile.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
virnetlink.c lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virnetlink.h lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virnodesuspend.c src: improve thread naming with human targetted names 2020-03-05 12:23:04 +00:00
virnodesuspend.h
virnuma.c virnuma: Use numa_nodes_ptr when checking available NUMA nodes 2020-09-11 13:57:29 +02: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 Move debug statements after declarations 2020-08-25 19:03:11 +02: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 lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02: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
virportallocator.c util: virportallocator: add includes 2020-02-24 23:15:49 +01:00
virportallocator.h
virprobe.h
virprocess.c Do not report error when setting affinity is allowed to fail 2020-09-07 11:35:36 +02:00
virprocess.h Do not report error when setting affinity is allowed to fail 2020-09-07 11:35:36 +02:00
virqemu.c Move declarations before statements 2020-08-25 19:03:11 +02:00
virqemu.h qemu: Move virQEMUFileOpenAs to qemu_domain.c 2020-08-24 18:12:44 +02:00
virrandom.c util: virRandomInt: remove temporary variable 2020-08-25 19:03:11 +02:00
virrandom.h Use G_GNUC_NO_INLINE instead of ATTRIBUTE_NOINLINE 2019-10-15 16:14:18 +02:00
virresctrl.c Use g_strfeev instead of virStringFreeList 2020-08-03 15:37:36 +02:00
virresctrl.h util: sync variable names between header and C files 2020-08-03 15:19:29 +02:00
virresctrlpriv.h
virrotatingfile.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virrotatingfile.h
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
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
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 util: sync variable names between header and C files 2020-08-03 15:19:29 +02:00
virstorageencryption.c VIR_XPATH_NODE_AUTORESTORE: remove semicolon from users 2020-08-25 19:03:12 +02:00
virstorageencryption.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
virstoragefile.c VIR_XPATH_NODE_AUTORESTORE: remove semicolon from users 2020-08-25 19:03:12 +02:00
virstoragefile.h qemu: block: Allow specifying cluster size when using 'blockdev-create' 2020-09-08 08:48:53 +02:00
virstoragefilebackend.c util: use host module suffix when loading drivers 2020-08-26 10:30:18 +02:00
virstoragefilebackend.h
virstring.c lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virstring.h util: delete virStringListFree 2020-08-03 15:37:36 +02:00
virsysinfo.c Prefer https: everywhere where possible 2020-09-01 21:58:46 +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
virthread.c util: Use glib memory functions in virThreadCreateFull 2020-09-11 18:19:58 +02:00
virthread.h src: set the OS level thread name 2020-03-05 12:23:02 +00:00
virthreadjob.c
virthreadjob.h
virthreadpool.c util: add stop/drain functions to thread pool 2020-09-07 09:33:58 +03:00
virthreadpool.h util: remove unused virThreadPoolNew macro 2020-09-07 09:34:00 +03: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 peer2peer migration: allow connecting to local sockets 2020-09-04 10:20:49 +02:00
viruri.h peer2peer migration: allow connecting to local sockets 2020-09-04 10:20:49 +02: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 lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virutil.h lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +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
virvsock.c lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virvsock.h
virxdrdefs.h src: remove all traces of Cygwin support 2020-01-29 14:51:40 +00:00
virxml.c util: log an error if virXMLNodeContentString will return NULL 2020-08-05 00:04:48 -04:00
virxml.h util: xml: use pragma in VIR_XPATH_NODE_AUTORESTORE 2020-08-25 19:03:12 +02:00