commit | c3f89b50c7745a036708a392e893d42672b1456a | [log] [tgz] |
---|---|---|
author | Gang Wei <gang.wei@intel.com> | Fri Oct 14 15:44:22 2016 +0800 |
committer | Gang Wei <gang.wei@intel.com> | Fri Oct 14 15:44:22 2016 +0800 |
tree | 7bd95572edcf35e2ff3afd0472462412245a9fee | |
parent | 47d560652f1ae28519323df61d69ec63bbf1a846 [diff] |
Add MSG_NOSIGNAL flag to avoid send() causing SIGPIPE If the socket connection was closed by peer, send() will cause a SIGPIPE signal, by default this signal will cause app exit with exit code 141. Add MSG_NOSIGNAL flag can avoid this. Signed-off-by: Gang Wei <gang.wei@intel.com>
This stack consists of the following layers from top to bottom:
Since the FAPI and ESAPI haven't been implemented yet, this repository only contains the SAPI and layers below it, plus a test application for exercising the SAPI.
The test application, tpmclient, tests many of the commands against the TPM 2.0 simulator. The tpmclient application can be altered and used as a sandbox to test and develop any TPM 2.0 command sequences, and provides an excellent development and learning vehicle.
TPM 2.0 specifications can be found at Trusted Computing Group.