From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751126AbdA1B0u (ORCPT ); Fri, 27 Jan 2017 20:26:50 -0500 Received: from bedivere.hansenpartnership.com ([66.63.167.143]:39984 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750767AbdA1B0q (ORCPT ); Fri, 27 Jan 2017 20:26:46 -0500 Message-ID: <1485563481.3229.39.camel@HansenPartnership.com> Subject: [PATCH 0/2] Add session handling to tpm spaces From: James Bottomley To: tpmdd-devel@lists.sourceforge.net Cc: open list , linux-security-module@vger.kernel.org Date: Fri, 27 Jan 2017 16:31:21 -0800 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.5 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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