All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add session handling to tpm spaces
@ 2017-01-24  5:35 James Bottomley
  2017-01-24  5:37   ` James Bottomley
  2017-01-24  5:38 ` [PATCH 2/2] tpm2-space: add handling for global session exhaustion James Bottomley
  0 siblings, 2 replies; 20+ messages in thread
From: James Bottomley @ 2017-01-24  5:35 UTC (permalink / raw)
  To: tpmdd-devel; +Cc: open list, linux-security-module

These two patches are easily separated.  The first does session
handling.  This incarnation uses TPM_RC_REFERENCE_H0 errors from
context save or load to signal when a session has been flushed (so it
no longer does tracking or flush emulation).  The second patch does
management for session exhaustion and is essentially unchanged from the
prior RFC.

James

---


James Bottomley (2):
  tpm2: add session handle context saving and restoring to the space code
  tpm2-space: add handling for global session exhaustion

 drivers/char/tpm/tpm-chip.c   |   7 +
 drivers/char/tpm/tpm.h        |  42 +++++-
 drivers/char/tpm/tpm2-cmd.c   |  15 +++
 drivers/char/tpm/tpm2-space.c | 294 ++++++++++++++++++++++++++++++++++++++++--
 drivers/char/tpm/tpms-dev.c   |  25 +++-
 5 files changed, 369 insertions(+), 14 deletions(-)

-- 
2.6.6

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

end of thread, other threads:[~2017-01-27 22:06 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-24  5:35 [PATCH 0/2] Add session handling to tpm spaces James Bottomley
2017-01-24  5:37 ` [PATCH 1/2] tpm2: add session handle context saving and restoring to the space code James Bottomley
2017-01-24  5:37   ` James Bottomley
2017-01-26 12:51   ` Jarkko Sakkinen
2017-01-26 15:18     ` James Bottomley
2017-01-26 15:18       ` James Bottomley
2017-01-27  6:45       ` Jarkko Sakkinen
2017-01-27  6:45         ` Jarkko Sakkinen
     [not found]       ` <1485443929.2457.5.camel-d9PhHud1JfjCXq6kfMZ53/egYHeGw8Jk@public.gmane.org>
2017-01-27 22:06         ` Ken Goldman
2017-01-26 16:26     ` James Bottomley
2017-01-26 16:26       ` James Bottomley
2017-01-27  6:49       ` Jarkko Sakkinen
2017-01-27  6:49         ` Jarkko Sakkinen
2017-01-24  5:38 ` [PATCH 2/2] tpm2-space: add handling for global session exhaustion James Bottomley
2017-01-26 12:56   ` Jarkko Sakkinen
2017-01-26 12:56     ` Jarkko Sakkinen
2017-01-27  0:45     ` James Bottomley
2017-01-27  0:45       ` James Bottomley
2017-01-27  6:51       ` Jarkko Sakkinen
2017-01-27  6:51         ` Jarkko Sakkinen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.