swtpm/src
Stefan Berger 024073c5cc swtpm_cuse: Support parial reads (issue #376)
This patch adds support for partial reads to the CUSE swtpm.

We introduce a ptm_read_offset variable that holds the offset where to read
from next. It is reset every time a command has been processed as part of a
write() so that subsequent read()s start reading from offset 0. It is
advanced by the number of bytes that were read.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2021-01-04 07:51:50 -05:00
..
selinux build-sys: Label swtpm and swtpm_cuse with SELinux label 2020-08-19 14:36:10 -04:00
swtpm swtpm_cuse: Support parial reads (issue #376) 2021-01-04 07:51:50 -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: Remove unnecessary if statement (issue #392) 2020-12-30 08:11:14 -05:00
swtpm_setup swtpm_setup: Increase timeout from 10s to 30s for slower machines 2020-12-07 14:21:21 -05:00
Makefile.am build-sys: Build swtpm_setup on all supported platforms 2018-08-07 12:19:47 -04:00