mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 06:35:24 +00:00
c3c80a183e
* qemud/qemud.c (tls_port, tcp_port, mdns_name, tls_allowed_ip_list): (tls_allowed_dn_list): Remove "const", now that we free these. (unix_sock_rw_mask): Rename from unix_sock_rw_perms, so that the latter name can be used as a local string variable, so that the variable name matches the config attribute name. (unix_sock_ro_mask): Rename from unix_sock_ro_perms, likewise. (remoteCheckDN, remoteCheckAccess): Adapt to const removal. (qemudDispatchServer): Check for heap allocation failure. (remoteConfigGetStringList): New function, based on code from Dan Berrangé. (CHECK_TYPE): Remove macro. (checkType): New function. (GET_CONF_INT, GET_CONF_STR): New macros. (remoteReadConfigFile): Use new macros to avoid duplication and to check for allocation failure. * src/conf.h (virConfTypeName): New static inline function. |
||
---|---|---|
.. | ||
.cvsignore | ||
default-network.xml | ||
event.c | ||
event.h | ||
internal.h | ||
libvirtd.conf | ||
libvirtd.init.in | ||
libvirtd.sysconf | ||
Makefile.am | ||
mdns.c | ||
mdns.h | ||
qemud.c | ||
remote_dispatch_localvars.h | ||
remote_dispatch_proc_switch.h | ||
remote_dispatch_prototypes.h | ||
remote_generate_stubs.pl | ||
remote_protocol.c | ||
remote_protocol.h | ||
remote_protocol.x | ||
remote.c | ||
rpcgen_fix.pl |