Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753701AbZKCRqm (ORCPT ); Tue, 3 Nov 2009 12:46:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752275AbZKCRqm (ORCPT ); Tue, 3 Nov 2009 12:46:42 -0500 Received: from 139-142-54-143.atc.vaillant.ca ([139.142.54.143]:48616 "EHLO quartz.edm.orcorp.ca" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751471AbZKCRql (ORCPT ); Tue, 3 Nov 2009 12:46:41 -0500 Date: Tue, 3 Nov 2009 10:46:44 -0700 From: Jason Gunthorpe To: Hal Finney Cc: tpmdd-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, srajiv@linux.vnet.ibm.com Subject: Re: [tpmdd-devel] [PATCH] TPM: Let the tpm char device be openable multiple times Message-ID: <20091103174644.GO7768@obsidianresearch.com> References: <20091103003511.GL7768@obsidianresearch.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Broken-Reverse-DNS: no host name found for IP address 10.0.0.11 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 659 Lines: 15 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/