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

From: Jason Gunthorpe
Date: Tue Nov 03 2009 - 12:46:52 EST


On Tue, Nov 03, 2009 at 09:31:55AM -0800, Hal Finney wrote:
> 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?

I did not attempt to implement something like that. Most cases in
Linux seem to leave that to user space..

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/