All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add session handling to tpm spaces
@ 2017-01-28  0:31 ` James Bottomley
  0 siblings, 0 replies; 39+ messages in thread
From: James Bottomley @ 2017-01-28  0:31 UTC (permalink / raw)
  To: tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
  Cc: linux-security-module-u79uwXL29TY76Z2rM5mHXA, open list

Here's round two of the session handling patches.  I folded in the
review feedback (really all to patch 1) and tidied up a few parts of
patch 2.

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        |  43 +++++-
 drivers/char/tpm/tpm2-cmd.c   |  15 ++
 drivers/char/tpm/tpm2-space.c | 313 +++++++++++++++++++++++++++++++++++++++++-
 drivers/char/tpm/tpms-dev.c   |  19 ++-
 5 files changed, 385 insertions(+), 12 deletions(-)

-- 
2.6.6


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

^ permalink raw reply	[flat|nested] 39+ messages in thread
* [PATCH 0/2] Add session handling to tpm spaces
@ 2017-01-24  5:35 James Bottomley
  2017-01-24  5:38 ` [PATCH 2/2] tpm2-space: add handling for global session exhaustion James Bottomley
  0 siblings, 1 reply; 39+ 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] 39+ messages in thread

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

Thread overview: 39+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-28  0:31 [PATCH 0/2] Add session handling to tpm spaces James Bottomley
2017-01-28  0:31 ` James Bottomley
     [not found] ` <1485563481.3229.39.camel-d9PhHud1JfjCXq6kfMZ53/egYHeGw8Jk@public.gmane.org>
2017-01-28  0:32   ` [PATCH v2 1/2] tpm2: add session handle context saving and restoring to the space code James Bottomley
2017-01-28  0:32     ` James Bottomley
2017-01-29 21:39     ` [tpmdd-devel] " Jarkko Sakkinen
     [not found]       ` <20170129213957.zx6v6g42kwcabc6y-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-01-29 22:36         ` James Bottomley
2017-01-29 22:36           ` [tpmdd-devel] " James Bottomley
     [not found]           ` <1485729418.2491.10.camel-d9PhHud1JfjCXq6kfMZ53/egYHeGw8Jk@public.gmane.org>
2017-01-30 21:45             ` Jarkko Sakkinen
2017-01-30 21:45               ` [tpmdd-devel] " Jarkko Sakkinen
     [not found]               ` <20170130214526.56e4ai2k6zhzvgy4-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-01-30 22:14                 ` James Bottomley
2017-01-30 22:14                   ` [tpmdd-devel] " James Bottomley
     [not found]                   ` <1485814477.2518.30.camel-d9PhHud1JfjCXq6kfMZ53/egYHeGw8Jk@public.gmane.org>
2017-01-31 13:15                     ` Jarkko Sakkinen
2017-01-31 13:15                       ` [tpmdd-devel] " Jarkko Sakkinen
     [not found]     ` <1485563558.3229.41.camel-d9PhHud1JfjCXq6kfMZ53/egYHeGw8Jk@public.gmane.org>
2017-01-30  0:35       ` Ken Goldman
2017-01-30  0:35         ` Ken Goldman
2017-01-30  0:55         ` [tpmdd-devel] " James Bottomley
2017-01-30 21:46         ` Jarkko Sakkinen
2017-01-31 16:21       ` Jarkko Sakkinen
2017-01-31 16:21         ` [tpmdd-devel] " Jarkko Sakkinen
     [not found]         ` <20170131162115.vptki5ykmpnx27ym-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-01-31 16:27           ` Jarkko Sakkinen
2017-01-31 16:27             ` [tpmdd-devel] " Jarkko Sakkinen
2017-01-31 22:55           ` James Bottomley
2017-01-31 22:55             ` [tpmdd-devel] " James Bottomley
     [not found]             ` <1485903340.3199.107.camel-d9PhHud1JfjCXq6kfMZ53/egYHeGw8Jk@public.gmane.org>
2017-02-01 22:11               ` Ken Goldman
2017-01-28  0:33 ` [PATCH 2/2] tpm2-space: add handling for global session exhaustion James Bottomley
     [not found]   ` <1485563634.3229.43.camel-d9PhHud1JfjCXq6kfMZ53/egYHeGw8Jk@public.gmane.org>
2017-01-29 22:02     ` Jarkko Sakkinen
2017-01-29 22:02       ` [tpmdd-devel] " Jarkko Sakkinen
2017-01-29 22:03       ` Jarkko Sakkinen
     [not found]       ` <20170129220219.oqv7fuofvcqy3gzh-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-01-31 23:24         ` James Bottomley
2017-01-31 23:24           ` [tpmdd-devel] " James Bottomley
2017-02-01 10:29           ` Jarkko Sakkinen
2017-02-01 22:17             ` Ken Goldman
  -- strict thread matches above, loose matches on Subject: below --
2017-01-24  5:35 [PATCH 0/2] Add session handling to tpm spaces James Bottomley
2017-01-24  5:38 ` [PATCH 2/2] tpm2-space: add handling for global session exhaustion James Bottomley
     [not found]   ` <1485236313.2534.73.camel-d9PhHud1JfjCXq6kfMZ53/egYHeGw8Jk@public.gmane.org>
2017-01-26 12:56     ` Jarkko Sakkinen
2017-01-26 12:56       ` Jarkko Sakkinen
     [not found]       ` <20170126125615.dt5hnfbpmtxk7xlq-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-01-27  0:45         ` James Bottomley
2017-01-27  0:45           ` James Bottomley
     [not found]           ` <1485477952.2457.55.camel-d9PhHud1JfjCXq6kfMZ53/egYHeGw8Jk@public.gmane.org>
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.