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

From
Jarkko Sakkinen <hidden>
Date
2016-03-11 09:50:44
Also in
lkml
Reply to
Stefan Berger, 2016-03-10
On Thu, Mar 10, 2016 at 12:30:44PM -0500, Stefan Berger wrote:
quoted
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
Thread (12 messages) 12 messages, 4 authors, last reply 2016-03-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help