Skip to content

Extend the vTPM proxy driver to pass locality

Stefan Berger linux-security-module lkml tpmdd-devel 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest3 patches 11 repliesIn review
  2. v52 patches 4 repliesSuperseded
  3. v42 patches 11 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v33 patches6 repliesSuperseded
v23 patches16 repliesSuperseded
v13 patches0 repliesSuperseded

Changes in v6 from the cover letter

- Added patch 3/3.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tpm: Introduce flag TPM_TRANSMIT_RAWdrivers/char/tpm/tpm-interface.c drivers/char/tpm/tpm.h+3 -12 replies
2/3tpm: vtpm_proxy: Implement request_locality function.drivers/char/tpm/tpm-interface.c drivers/char/tpm/tpm_vtpm_proxy.c include/uapi/linux/vtpm_proxy.h+41 -07 replies
3/3tpm: vtpm_proxy: Prevent userspace from sending driver commanddrivers/char/tpm/tpm_vtpm_proxy.c+33 -02 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJarkko SakkinenStefan Berger
1/3R-b
2/3R-b T-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/3] Extend the vTPM proxy driver to pass locality

The purpose of this series of patches is to enable the passing of the locality a command is executing in to a recipient, i.e., TPM emulator. To enable this we introduce vendor-specific TPM commands for TPM 1.2 and TPM 2 that the driver sends to the TPM emulator.

v5->v6:
- Added patch 3/3.

v4->v5:
- introduce TPM_TRANSMIT_RAW to be able to call tpm_transmit without recursing into requesting the locality.

v3->v4:
- addressed Jarkko's comments: largely a rewrite of the patches

v2->v3:
- addressed Jarkko's comments

v1->v2:
- fixed return value from function in patch 3/3

Stefan Berger (3):
tpm: Introduce flag TPM_TRANSMIT_RAW
tpm: vtpm_proxy: Implement request_locality function.
tpm: vtpm_proxy: Prevent userspace from sending driver command

 drivers/char/tpm/tpm-interface.c  |  4 ++-
 drivers/char/tpm/tpm.h            |  1 +
 drivers/char/tpm/tpm_vtpm_proxy.c | 69 +++++++++++++++++++++++++++++++++++++++
 include/uapi/linux/vtpm_proxy.h   |  4 +++
 4 files changed, 77 insertions(+), 1 deletion(-)
Signature · 6 lines
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html