From: James Bottomley Subject: [PATCH 0/2] Add session handling to tpm spaces Date: Fri, 27 Jan 2017 16:31:21 -0800 Message-ID: <1485563481.3229.39.camel@HansenPartnership.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tpmdd-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Cc: linux-security-module-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, open list List-Id: tpmdd-devel@lists.sourceforge.net 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