From: Stefan Berger <[email protected]>

The following series of patches implements a multi-instance vTPM driver
that can dynamically create TPM 'server' and client device pairs.

Using ioctl's on the provided /dev/vtpmx, a server and a client
side vTPM device can be created. The server side offers a /dev/vtpms%d
device and a TPM emulator must be started on it to listen for TPM commands
that are written to /dev/vtpmc%d, which is created by the core TPM driver.

The primary goal of this series of patches is enabling vTPM for containers
and hooking them up to a (future) namespaced IMA. However, the driver can
also be used for simulating a hardware TPM on the host.

The last patch provides a test program for controlling device pairs.

   Stefan


Stefan Berger (4):
  New flags for TPM chip avoiding filesystem registrations
  Allow to provide a name pattern of the device
  Implement driver for supporting multiple emulated TPMs
  A test program for vTPM device creation

 drivers/char/tpm/Kconfig    |  10 +
 drivers/char/tpm/Makefile   |   1 +
 drivers/char/tpm/tpm-chip.c |  42 ++-
 drivers/char/tpm/tpm-vtpm.c | 855 ++++++++++++++++++++++++++++++++++++++++++++
 drivers/char/tpm/tpm-vtpm.h |  58 +++
 drivers/char/tpm/tpm.h      |   8 +-
 include/uapi/linux/Kbuild   |   1 +
 include/uapi/linux/vtpm.h   |  52 +++
 vtpmctrl.c                  | 369 +++++++++++++++++++
 9 files changed, 1386 insertions(+), 10 deletions(-)
 create mode 100644 drivers/char/tpm/tpm-vtpm.c
 create mode 100644 drivers/char/tpm/tpm-vtpm.h
 create mode 100644 include/uapi/linux/vtpm.h
 create mode 100644 vtpmctrl.c

-- 
2.4.3


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
tpmdd-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tpmdd-devel

Reply via email to