libvirt/daemon
Erik Skultety a8582e3656 admin: Use the connection to determine a client is connected readonly
Prior to this change, we relied solely on the inherited readonly
attribute of a service's socket. This only worked for our UNIX sockets
(and only to some degree), but doesn't work for TCP sockets which are RW
by default, but such connections support RO as well. This patch forces
an update on the client object once we have established a connection to
reflect the nature of the connection itself rather than relying on the
underlying socket's attributes.
Clients connected to the admin server have always been connected as RW
only.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1524399
Signed-off-by: Erik Skultety <eskultet@redhat.com>
2017-12-18 08:42:29 +01:00
..
admin_server.c rpc: virnetserver: Rename ClientSetProcessingControls to ClientSetLimits 2016-08-02 14:51:13 +02:00
admin_server.h admin: Introduce virAdmServerSetClientLimits 2016-05-19 12:31:53 +02:00
admin.c maint: Fix incorrect parenthesis placement causing true/false assignment 2017-09-05 11:27:12 +02:00
admin.h admin: Move admin_server.{h,c} to admin.{h,c} 2016-02-17 12:46:34 +01:00
libvirt.rules polkit: Allow password-less access for 'libvirt' group 2015-05-04 12:57:06 -04:00
libvirtd-config.c libvirtd.conf: Drop max_requests 2017-08-16 08:59:28 +02:00
libvirtd-config.h libvirtd.conf: Drop max_requests 2017-08-16 08:59:28 +02:00
libvirtd.aug libvirtd.conf: Drop max_requests 2017-08-16 08:59:28 +02:00
libvirtd.c audit: Log only an info message if audit_level < 2 and audit is not supported 2017-12-13 13:42:16 +01:00
libvirtd.conf Use https:// links for most sites 2017-10-16 10:22:34 +01:00
libvirtd.h remote: implement secret lifecycle event APIs 2017-01-09 15:53:49 +00:00
libvirtd.init.in Use https:// links for most sites 2017-10-16 10:22:34 +01:00
libvirtd.libxl.logrotate.in daemon: remove minsize directive from hypervisor logrotate files 2017-10-26 11:23:07 -06:00
libvirtd.logrotate.in Add logrotate support for libvirtd.log 2011-03-04 22:43:55 +08:00
libvirtd.lxc.logrotate.in daemon: remove minsize directive from hypervisor logrotate files 2017-10-26 11:23:07 -06:00
libvirtd.pod Use https:// links for most sites 2017-10-16 10:22:34 +01:00
libvirtd.policy.in daemon: Make the default PolicyKit policy auth_admin_keep. 2012-11-01 13:17:26 +00:00
libvirtd.qemu.logrotate.in qemu: logrotate: drop minsize directive 2017-10-26 11:00:07 -06:00
libvirtd.sasl Switch to GSSAPI (kerberos) instead of the insecure DIGEST-MD5 2017-03-15 18:14:51 +00:00
libvirtd.service.in Use https:// links for most sites 2017-10-16 10:22:34 +01:00
libvirtd.sysconf daemon: Enhance documentation for changing NOFILE limit 2014-03-20 10:55:44 +01:00
libvirtd.sysctl init: raise default system aio limits 2011-10-05 14:49:35 -06:00
libvirtd.uml.logrotate.in daemon: remove minsize directive from hypervisor logrotate files 2017-10-26 11:23:07 -06:00
libvirtd.upstart daemon: Allow overriding NOFILES ulimit for the daemon as well 2012-02-01 16:04:30 +01:00
Makefile.am Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
remote.c admin: Use the connection to determine a client is connected readonly 2017-12-18 08:42:29 +01:00
remote.h Implement the RPC protocol for the libvirt-lxc.la library 2013-01-15 18:16:53 +00:00
stream.c daemon: Don't conditionally free @origErr in daemonStreamEvent 2017-07-20 10:08:27 -04:00
stream.h Add new flag to daemonCreateClientStream and virNetClientStreamNew 2017-05-18 07:42:13 +02:00
test_libvirtd.aug.in libvirtd.conf: Drop max_requests 2017-08-16 08:59:28 +02:00
THREADS.txt THREADS.txt: fix typos 2017-01-25 09:18:49 +01:00
virt-guest-shutdown.target Use https:// links for most sites 2017-10-16 10:22:34 +01:00