mirror of
https://github.com/stefanberger/swtpm.git
synced 2026-08-12 20:24:44 +00:00
Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface.
Coverity is complaining that thread_busy needs to be locked before reading. For consistency reasons now also lock thread_busy before reading it. However, in this case it does not make a difference whether this lock is held when reading thread_busy since file_ops_lock is held when the thread_busy flag is set and when it is read with a call to this function (worker_thread_is_busy). Also while the thread is busy no further commands can be submitted and it can then reset the thread_busy flag without holding the file_ops_lock. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> |
||
|---|---|---|
| .github/ISSUE_TEMPLATE | ||
| debian | ||
| include | ||
| man | ||
| samples | ||
| src | ||
| tests | ||
| .gitignore | ||
| .travis.yml | ||
| autogen.sh | ||
| CHANGES | ||
| configure.ac | ||
| COPYING | ||
| DCO1.1.txt | ||
| INSTALL | ||
| LICENSE | ||
| Makefile.am | ||
| README | ||
| run_tests | ||
| swtpm.spec | ||
| swtpm.spec.in | ||
| TODO | ||
SWTPM - Software TPM Emulator
David Safford safford@us.ibm.com
Stefan Berger stefanb@us.ibm.com
The SWTPM package provides TPM emulators with different front-end interfaces
to libtpms. TPM emulators provide socket interfaces (TCP/IP and Unix) and
the Linux CUSE interface for the creation of multiple native /dev/vtpm* devices.
The SWTPM package also provides several tools for using the TPM emulator,
creating certificates for a TPM, and simulating the manufacturing of
a TPM by creating a TPM's EK and platform certificates etc. Please read
the READMEs in the individual tool's directory under src/.
Please consult the Wiki for information about swtpm:
https://github.com/stefanberger/swtpm/wiki