libvirt/src/remote
Daniel P. Berrangé 953f046d81 remote: use VIR_DRV_OPEN_REMOTE_USER in ssh transport checks
We currently refuse to connect to remote libvirtd over SSH if we see the
path ends in /session. Earlier on though we checked for /session and set
the VIR_DRV_OPEN_REMOTE_USER flag. There is one subtle distinction
though with the test driver. All test URIs are marked with this flag,
regardless of whether the URI indicates a local or remote connection.
Previously a local connection to the test driver would have used the
unprivileged libvirtd while a remote connection would have tried the
privileged libvirtd. With this we are consistent and use the
unprivileged for both local & remote, if the current user is non-root.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2019-06-21 13:00:20 +01:00
..
libvirtd.aug remote: delete the avahi mDNS support 2019-06-21 12:59:42 +01:00
libvirtd.conf remote: delete the avahi mDNS support 2019-06-21 12:59:42 +01:00
libvirtd.libxl.logrotate.in daemon: move logrotate files to src/remote/ 2018-02-22 12:26:57 +00:00
libvirtd.logrotate.in daemon: move logrotate files to src/remote/ 2018-02-22 12:26:57 +00:00
libvirtd.lxc.logrotate.in daemon: move logrotate files to src/remote/ 2018-02-22 12:26:57 +00:00
libvirtd.pod daemon: move libvirtd POD manpage into src/remote/ 2018-02-22 12:21:09 +00:00
libvirtd.policy Do not generate polkit rules file 2018-03-14 12:46:26 +01:00
libvirtd.qemu.logrotate.in daemon: move logrotate files to src/remote/ 2018-02-22 12:26:57 +00:00
libvirtd.rules daemon: move misc libvirtd policy files to src/remote/ 2018-02-22 12:26:50 +00:00
libvirtd.sasl daemon: move misc libvirtd policy files to src/remote/ 2018-02-22 12:26:50 +00:00
libvirtd.service.in libvirtd: Add service dependency on systemd-logind 2018-06-12 13:29:42 -04:00
libvirtd.sysconf daemon: move init system files into src/remote/ 2018-02-22 12:21:21 +00:00
libvirtd.sysctl daemon: move misc libvirtd policy files to src/remote/ 2018-02-22 12:26:50 +00:00
lxc_protocol.x Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
Makefile.inc.am maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
qemu_protocol.x Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
remote_daemon_config.c remote: delete the avahi mDNS support 2019-06-21 12:59:42 +01:00
remote_daemon_config.h remote: delete the avahi mDNS support 2019-06-21 12:59:42 +01:00
remote_daemon_dispatch.c remote: add support for new network port APIs 2019-06-17 15:30:22 +01:00
remote_daemon_dispatch.h src/remote: use #pragma once in headers 2019-06-19 17:12:30 +02:00
remote_daemon_stream.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
remote_daemon_stream.h src/remote: use #pragma once in headers 2019-06-19 17:12:30 +02:00
remote_daemon.c remote: delete the avahi mDNS support 2019-06-21 12:59:42 +01:00
remote_daemon.h src/remote: use #pragma once in headers 2019-06-19 17:12:30 +02:00
remote_driver.c remote: use VIR_DRV_OPEN_REMOTE_USER in ssh transport checks 2019-06-21 13:00:20 +01:00
remote_driver.h src/remote: use #pragma once in headers 2019-06-19 17:12:30 +02:00
remote_protocol.x api: disallow virDomainSaveImageGetXMLDesc on read-only connections 2019-06-20 13:50:56 +02:00
test_libvirtd.aug.in remote: delete the avahi mDNS support 2019-06-21 12:59:42 +01:00
virt-guest-shutdown.target.in daemon: move init system files into src/remote/ 2018-02-22 12:21:21 +00:00