From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Ken Goldman <kgold@linux.ibm.com>, linux-integrity@vger.kernel.org
Subject: Re: TPM resource manager separation
Date: Fri, 05 Jun 2020 08:09:48 -0700 [thread overview]
Message-ID: <1591369788.4728.29.camel@HansenPartnership.com> (raw)
In-Reply-To: <6693966c-132e-c35a-af08-7513cab33fc3@linux.ibm.com>
On Fri, 2020-06-05 at 10:45 -0400, Ken Goldman wrote:
> Low level question:
>
> Does the RM keep track of which handle / object belongs to which
> process?
Sort of: it stores the mappings in a per open file private area. One
process can have more than one file open to the resource manager,
meaning it could have multiple views of the resource managed TPM, but
by and large there's one open per process meaning you can regard it as
mapping per process.
> E.g., process A loads a key and gets handle 80ffffff. Process B
> then tries to do an operation using handle 80ffffff. Will the RM
> reject it?
No, in fact the way the current resource manager works, the first
volatile key loaded by any process using the RM will always appear at
80ffffff.
> High level question:
>
> Does the RM have any design or capability documentation? Is there a
> place to get answers other than this mailing list.
Not really ... perhaps it is time to write a
Documentation/security/tpmrm guide.
James
prev parent reply other threads:[~2020-06-05 15:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-05 14:45 TPM resource manager separation Ken Goldman
2020-06-05 15:09 ` James Bottomley [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=1591369788.4728.29.camel@HansenPartnership.com \
--to=james.bottomley@hansenpartnership.com \
--cc=kgold@linux.ibm.com \
--cc=linux-integrity@vger.kernel.org \
/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.