Re: [tpmdd-devel] [PATCH] TPM: Let the tpm char device be openable multiple times

From: Valdis . Kletnieks
Date: Tue Nov 03 2009 - 13:14:59 EST

On Tue, 03 Nov 2009 09:31:55 PST, Hal Finney said:
> What if you don't want it accessible by user mode apps, you only want
> your middleware (ie tcs daemon, tcsd) to open it? Will this still
> allow that to be enforced, so nobody can interfere with tcsd's
> exclusive access to the device?

Couldn't tcsd just open the device with O_EXCL? Or am I missing something
subtle here?

Attachment: pgp00000.pgp
Description: PGP signature