Messages in this thread |  | | | Date | Tue, 3 Nov 2009 10:43:52 +0000 | | From | Alan Cox <> | | Subject | Re: [PATCH] TPM: Let the tpm char device be openable multiple times |
| |
> - Move the user space data buffer and related goop into a > struct tpm_file, create one struct tpm_file per open file.
Is that really sufficient ?
You can open a file once, dup it (or inherit it and get multiple callers from the same file handle. Ditto consider threated apps
Alan
|  |