mirror of
https://github.com/stefanberger/swtpm.git
synced 2025-08-22 10:30:52 +00:00
![]() Since the CUSE TPM starts TPM in one process but then daemonizes and effectively runs in a child process, the lock records on the storage that the parent may have set up are lost due to them not being inherited by the child. Fix the issue by daemonizing before the TPM is started so that the child grabs the lock on the storage. Prevent CUSE from forking so that not another child is created. As a side-effect, this now moves any error reporting, that may previously have occurred in the main process and where messages were show on stderr, into the child process. A log is now required for these messages to become visible. Resolves: https://github.com/stefanberger/swtpm/issues/1050 Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> |
||
---|---|---|
.. | ||
selinux | ||
swtpm | ||
swtpm_bios | ||
swtpm_cert | ||
swtpm_ioctl | ||
swtpm_localca | ||
swtpm_setup | ||
utils | ||
Makefile.am |