Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1359197

Re: [PATCH v8 08/10] tpm: Proxy driver for supporting multiple emulated TPMs

From Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Newsgroups linux.kernel
Subject Re: [PATCH v8 08/10] tpm: Proxy driver for supporting multiple emulated TPMs
Date 2016-03-16 18:50 +0100
Message-ID <rdnK2-3Gs-11@gated-at.bofh.it> (permalink)
References <rcn9o-3vt-3@gated-at.bofh.it> <rcn9o-3vt-9@gated-at.bofh.it> <rdiAG-nR-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Mar 16, 2016 at 02:09:16PM +0200, Jarkko Sakkinen wrote:
> On Sun, Mar 13, 2016 at 06:54:38PM -0400, Stefan Berger wrote:

> Alternative to this would be to have /dev/vtpmx create:
> 
> * /dev/vtpm0 for the server
> * /dev/tpm0 for the client
> 
> This is how David Howell's PoC worked and that's why I want
> to make this alternative visible.
> 
> The server could even respawn without container noticing it.
> This solution have better availability properties.

Seriously, no, that doesn't make any sense. TPM is stateful, you can't
respawn the server side.

If anyone is ever clever enough to make that workable then they just
go ahead and save the server fd with the other state. systemd for
instance already has everything needed to make that work.

We don't need to have a server dev node and we certainly don't need
the leaking problem that leaves us with.

Jason

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v8 00/10] Multi-instance vTPM proxy driver Stefan Berger <stefanb@linux.vnet.ibm.com> - 2016-03-14 00:00 +0100
  [PATCH v8 05/10] tpm: Split out the devm stuff from tpmm_chip_alloc Stefan Berger <stefanb@linux.vnet.ibm.com> - 2016-03-14 00:00 +0100
  [PATCH v8 03/10] tpm: Provide strong locking for device removal Stefan Berger <stefanb@linux.vnet.ibm.com> - 2016-03-14 00:00 +0100
  [PATCH v8 09/10] tpm: Initialize TPM and get durations and timeouts Stefan Berger <stefanb@linux.vnet.ibm.com> - 2016-03-14 00:00 +0100
  [PATCH v8 01/10] tpm: Get rid of chip->pdev Stefan Berger <stefanb@linux.vnet.ibm.com> - 2016-03-14 00:00 +0100
  [PATCH v8 08/10] tpm: Proxy driver for supporting multiple emulated TPMs Stefan Berger <stefanb@linux.vnet.ibm.com> - 2016-03-14 00:00 +0100
    Re: [PATCH v8 08/10] tpm: Proxy driver for supporting multiple  emulated TPMs Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-03-14 17:30 +0100
    Re: [PATCH v8 08/10] tpm: Proxy driver for supporting multiple  emulated TPMs Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-03-16 13:20 +0100
      Re: [PATCH v8 08/10] tpm: Proxy driver for supporting multiple  emulated TPMs Stefan Berger <stefanb@linux.vnet.ibm.com> - 2016-03-16 15:00 +0100
      Re: [PATCH v8 08/10] tpm: Proxy driver for supporting multiple  emulated TPMs Jason Gunthorpe <jgunthorpe@obsidianresearch.com> - 2016-03-16 18:50 +0100
        Re: [PATCH v8 08/10] tpm: Proxy driver for supporting multiple  emulated TPMs Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-03-16 21:40 +0100
    Re: [PATCH v8 08/10] tpm: Proxy driver for supporting multiple  emulated TPMs Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-03-16 21:50 +0100

csiph-web