All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ken Goldman <kgoldman@us.ibm.com>
To: linux-security-module@vger.kernel.org
Cc: tpmdd-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Re: [tpmdd-devel] [PATCH 2/2] tpm2-space: add handling for global session exhaustion
Date: Wed, 1 Feb 2017 17:17:16 -0500	[thread overview]
Message-ID: <o6tmp7$ihn$1@blaine.gmane.org> (raw)
In-Reply-To: <20170201102906.y67owrhw4clvlge7@intel.com>

On 2/1/2017 5:29 AM, Jarkko Sakkinen wrote:
>
> I've been observing the discussion that you've been going with Ken and
> I've started to think: "why this needs to be put into kernel?" We still
> have quite narrow perspective of TPM 2.0 applications. It's so much more
> capable than TPM 1.2 that it will be definitely have a wider set of
> use cases.

Just session swapping, or the whole resource manager?

Session swapping has to be in the kernel because the TPM typically only 
has 3 session slots.  Something has to do the swapping.

The RM is far better in the kernel because the kernel also needs access 
to the TPM, keys and sessions.  If a user space RM fills all the slots, 
the kernel has to either flush an application's resource (bad) or block 
(really bad).

Putting the RM in the kernel is IMHO the right architecture.




      reply	other threads:[~2017-02-01 22:17 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='o6tmp7$ihn$1@blaine.gmane.org' \
    --to=kgoldman@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-security-module@vger.kernel.org \
    --cc=tpmdd-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.