commit | b0f09514467f3c5dc6475c8896e717665823ad13 | [log] [tgz] |
---|---|---|
author | Philip Tricca <philip.b.tricca@intel.com> | Tue Feb 21 12:46:36 2017 -0800 |
committer | Philip Tricca <philip.b.tricca@intel.com> | Fri Feb 24 08:23:23 2017 -0800 |
tree | e0f11010d3a9c6c032d67e161d5e559bb17fa388 | |
parent | f3cd7fe5ee796227177d4828f0245a72ed03fb64 [diff] |
Fix memory leaks on error conditions in InitSysContext & SockServer. Resolves #331. Signed-off-by: Philip Tricca <philip.b.tricca@intel.com>
The current resource manager implementation in $(srcdir)/resourcemgr/resourcemgr.c should be considered a prototype only. It is not suitable for regular use as it has numerous threading issues and likely other latent bugs that can't be quantified without significant investment of time and resources. As such we've decided to write a new implementation as a proper daemon using dbus and more modern development practices. Patches fixing issues with the existing resource manager are welcome but this code will be removed as soon as the replacement is ready.
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.