lkml.org 
[lkml]   [2017]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [tpmdd-devel] [PATCH v2 1/2] tpm2: add session handle context saving and restoring to the space code
From
Date
On Sun, 2017-01-29 at 19:35 -0500, Ken Goldman wrote:
> On 1/27/2017 7:32 PM, James Bottomley wrote:
> >
> > Sessions are also isolated during each instance of a tpm space.
> > This means that spaces shouldn't be able to see each other's
> > sessions and is enforced by ensuring that a space user may only
> > refer to sessions handles that are present in their own chip
> > ->session_tbl. Finally when a space is closed, all the sessions
> > belonging to it should be flushed so the handles may be re-used by
> > other spaces.
>
> This should be true for transient objects as well.

It is ... it's just this patch only covers sessions.

James


\
 
 \ /
  Last update: 2017-01-30 01:55    [W:1.451 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site