public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add session isolation and context saving to the space manager
@ 2017-01-18 15:08 James Bottomley
  2017-01-18 15:09 ` [PATCH 1/2] tpm2: add session handle isolation to tpm spaces James Bottomley
  2017-01-18 15:10 ` [PATCH 2/2] tpm2: context save and restore space managed sessions James Bottomley
  0 siblings, 2 replies; 11+ messages in thread
From: James Bottomley @ 2017-01-18 15:08 UTC (permalink / raw)
  To: tpmdd-devel; +Cc: open list, linux-security-module

As requested, the first patch adds isolation and the second does
context switching.  I've also removed the flush emulation which changed
transient object accounting from lazy to strict.  Note that session
tracking has to be strict because the TPM needs to manage these closely
to avoid running out of global session numbers.

James

---

James Bottomley (2):
  tpm2: add session handle isolation to tpm spaces
  tpm2: context save and restore space managed sessions

 drivers/char/tpm/tpm-chip.c   |   6 +
 drivers/char/tpm/tpm.h        |   3 +
 drivers/char/tpm/tpm2-space.c | 377 ++++++++++++++++++++++++++++++++++--------
 drivers/char/tpm/tpms-dev.c   |   8 +
 4 files changed, 325 insertions(+), 69 deletions(-)

-- 
2.6.6

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-01-20 20:51 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-18 15:08 [PATCH 0/2] Add session isolation and context saving to the space manager James Bottomley
2017-01-18 15:09 ` [PATCH 1/2] tpm2: add session handle isolation to tpm spaces James Bottomley
2017-01-19 11:58   ` [tpmdd-devel] " Jarkko Sakkinen
2017-01-19 12:11     ` James Bottomley
2017-01-20 13:23       ` Jarkko Sakkinen
2017-01-20 14:39         ` James Bottomley
2017-01-20 17:57           ` Jarkko Sakkinen
     [not found]         ` <o5t6ns$k6e$1@blaine.gmane.org>
2017-01-20 20:51           ` Jarkko Sakkinen
2017-01-18 15:10 ` [PATCH 2/2] tpm2: context save and restore space managed sessions James Bottomley
2017-01-19 12:04   ` [tpmdd-devel] " Jarkko Sakkinen
2017-01-19 12:13     ` James Bottomley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox