[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20170120205100.h36r2qr6vrxj3zim@intel.com>
Date: Fri, 20 Jan 2017 22:51:00 +0200
From: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
To: Ken Goldman <kgoldman@...ibm.com>
Cc: tpmdd-devel@...ts.sourceforge.net,
linux-security-module@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [tpmdd-devel] [PATCH 1/2] tpm2: add session handle isolation to
tpm spaces
On Fri, Jan 20, 2017 at 09:27:25AM -0500, Ken Goldman wrote:
> On 1/20/2017 8:23 AM, Jarkko Sakkinen wrote:
> >
> > I'm talking about not trying to detect if something gets deleted. When
> > something gets created you would go through the global list of sessions
> > and check if it is used. If so, it must be that the session was deleted
> > at some point.
>
> Are you saying that, when a process flushes (or continue = false) a
> session, this code won't actually flush the context? You'll wait until
> another startauthsession creates a handle, and then delete other
> occurrences of it?
I just wouldn't get care if a session gets deleted. You can detect it
postmortem when something gets created with the same handle.
/Jarkko
Powered by blists - more mailing lists