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


Groups > linux.kernel > #1355777

Re: [PATCH v6 08/11] tpm: Driver for supporting multiple emulated TPMs

From Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v6 08/11] tpm: Driver for supporting multiple emulated TPMs
Date 2016-03-11 11:00 +0100
Message-ID <rbs1t-4bm-41@gated-at.bofh.it> (permalink)
References <raQpc-2UT-7@gated-at.bofh.it> <raQpc-2UT-9@gated-at.bofh.it> <rbbN0-1h9-19@gated-at.bofh.it> <rbcJ3-1SN-17@gated-at.bofh.it>
Organization Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo

Show all headers | View raw


On Thu, Mar 10, 2016 at 12:30:44PM -0500, Stefan Berger wrote:
> > Some might want to use this in a way that the created virtual device
> > is not closed when /dev/vtpmx is closed.
> 
> I don't see that happening. If you want the device pair to stay around after
> an application terminates, you have to pass the file descriptor returned
> from the ioctl to an application.

Right, so it is. So the device pair dissappears either by closing the
returned fd (by the ioctl) or when application terminates. No extra
ioctls would be needed.

>     Stefan

/Jarkko

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


Thread

[PATCH v6 08/11] tpm: Driver for supporting multiple emulated TPMs Stefan Berger <stefanb@linux.vnet.ibm.com> - 2016-03-09 18:50 +0100
  Re: [PATCH v6 08/11] tpm: Driver for supporting multiple emulated TPMs Andy Lutomirski <luto@amacapital.net> - 2016-03-09 19:10 +0100
    Re: [PATCH v6 08/11] tpm: Driver for supporting multiple emulated  TPMs Stefan Berger <stefanb@linux.vnet.ibm.com> - 2016-03-10 03:40 +0100
      Re: [PATCH v6 08/11] tpm: Driver for supporting multiple emulated TPMs Andy Lutomirski <luto@amacapital.net> - 2016-03-10 04:00 +0100
        Re: [PATCH v6 08/11] tpm: Driver for supporting multiple emulated  TPMs Stefan Berger <stefanb@linux.vnet.ibm.com> - 2016-03-10 18:40 +0100
  Re: [PATCH v6 08/11] tpm: Driver for supporting multiple emulated  TPMs Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-03-10 15:20 +0100
  Re: [PATCH v6 08/11] tpm: Driver for supporting multiple emulated  TPMs Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-03-10 17:40 +0100
    Re: [PATCH v6 08/11] tpm: Driver for supporting multiple emulated  TPMs Stefan Berger <stefanb@linux.vnet.ibm.com> - 2016-03-10 18:40 +0100
      Re: [PATCH v6 08/11] tpm: Driver for supporting multiple emulated  TPMs Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-03-11 11:00 +0100
    Re: [PATCH v6 08/11] tpm: Driver for supporting multiple emulated  TPMs Stefan Berger <stefanb@linux.vnet.ibm.com> - 2016-03-10 18:40 +0100
      Re: [PATCH v6 08/11] tpm: Driver for supporting multiple emulated  TPMs Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-03-11 11:30 +0100
    Re: [PATCH v6 08/11] tpm: Driver for supporting multiple emulated  TPMs Jason Gunthorpe <jgunthorpe@obsidianresearch.com> - 2016-03-10 23:20 +0100

csiph-web