Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754115AbYHLTal (ORCPT ); Tue, 12 Aug 2008 15:30:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751917AbYHLTac (ORCPT ); Tue, 12 Aug 2008 15:30:32 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:37872 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751386AbYHLTac (ORCPT ); Tue, 12 Aug 2008 15:30:32 -0400 Date: Tue, 12 Aug 2008 15:30:31 -0400 From: Christoph Hellwig To: Mimi Zohar Cc: Christoph Hellwig , James Morris , linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, Randy Dunlap , safford@watson.ibm.com, sailer@watson.ibm.com, Stephen Smalley , serue@linux.vnet.ibm.com, Al Viro , Debora Velarde , Mimi Zohar , Kenneth Goldman Subject: Re: [PATCH 1/4] integrity: TPM internel kernel interface Message-ID: <20080812193031.GD18034@infradead.org> References: <20080808184349.999902616@linux.vnet.ibm.com> <1218221718.4444.11.camel@localhost.localdomain> <20080809184622.GA22905@infradead.org> 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-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 906 Lines: 23 On Mon, Aug 11, 2008 at 05:13:51PM -0400, Mimi Zohar wrote: > > I assume the concern here is that between looking up the chip and actually > > using the chip, the TPM chip is disabled/deactivated. Based on > discussions > with Kenneth Goldman, the TCG main specification part2: structures, > require > that even if the TPM is disabled/deactivated, the command to extend the > PCR > will succeed, but the command to read the PCR will fail with an > appropriate > error code. And what happens when the chip simply goes away due to a hotplug action? Or not even the actual chip goes away but just the chip driver and you now dereference freed memory? -- 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/