swtpm/src
Stefan Berger 20524cb213 swtpm_ioctl: Use timeouts for communicating with swtpm (Unix socket)
Start using timeouts when communicating with swtpm over Unix sockets so
that swtpm_ioctl does not just hang when it cannot communicate with swtpm
such as establishing a connection or reading results. This is because swtpm
listens to nlye one control channel connections.

This patch addresses an aspect of the problem reported in issue #415
but may also starting hiding bugs if certain operations are done in
the wrong order, as was the case in libvirt (6.10 & 7.0).

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2021-02-25 07:28:47 -05:00
..
selinux build-sys: Label swtpm and swtpm_cuse with SELinux label 2020-08-19 14:36:10 -04:00
swtpm swtpm: Fix spelling in comment (SWPTM->SWTPM) 2021-02-05 16:48:55 -05:00
swtpm_bios Fix typos in code and man pages 2020-06-15 08:11:34 -04:00
swtpm_cert swtpm_cert: Switch to open() from fopen() for writing certificate 2020-11-13 09:44:05 -05:00
swtpm_ioctl swtpm_ioctl: Use timeouts for communicating with swtpm (Unix socket) 2021-02-25 07:28:47 -05:00
swtpm_setup swtpm_setup: Fix typo in project URL (swptm->swtpm) 2021-02-05 16:48:55 -05:00
Makefile.am build-sys: Build swtpm_setup on all supported platforms 2018-08-07 12:19:47 -04:00