From: jarkko@kernel.org
To: linux-integrity@vger.kernel.org
Cc: Jarkko Sakkinen <jarkko@kernel.org>
Subject: [PATCH v5 0/3] KEYS, trusted: a bunch of bug fixes
Date: Fri, 29 Jan 2021 01:56:18 +0200 [thread overview]
Message-ID: <20210128235621.127925-1-jarkko@kernel.org> (raw)
From: Jarkko Sakkinen <jarkko@kernel.org>
This patch set contains a bunch of disjoint bug fixes.
v5:
* Call tpm_try_get_ops() and tpm_put_ops() inside tpm2_seal_trusted()
and tpm2_unseal_trusted().
https://lore.kernel.org/linux-integrity/CAFA6WYO4HJThYHhBxbx0Tr97sF_JFvTBur9uTGSQTtyQaOKpig@mail.gmail.com/
v4:
* Do not create stubs for tpm_transmit_cmd(), tpm_try_get_ops() and
tpm_put_ops().
https://lore.kernel.org/linux-integrity/20201013023927.GA71954@linux.intel.com/
v3:
* Reordered patches a bit, i.e. trivial fixes in the head and the least
trivial in the tail.
<no xref>
* Added the missing "return -ENODEV;" to tpm_transmit_cmd(), when the
kernel is compiled without TPM support.
https://lore.kernel.org/linux-integrity/202010110927.zsxMpek2-lkp@intel.com/
v2:
* Fix a kernel test bot warning.
https://lore.kernel.org/linux-integrity/202010051152.9kxy43LO-lkp@intel.com/
Jarkko Sakkinen (3):
KEYS: trusted: Fix incorrect handling of tpm_get_random()
KEYS: trusted: Fix migratable=1 failing
KEYS: trusted: Reserve TPM for seal and unseal operations
drivers/char/tpm/tpm.h | 4 ----
include/linux/tpm.h | 5 ++++-
security/keys/trusted-keys/trusted_tpm1.c | 22 +++++++++++++++++----
security/keys/trusted-keys/trusted_tpm2.c | 24 ++++++++++++++++++-----
4 files changed, 41 insertions(+), 14 deletions(-)
--
2.30.0
next reply other threads:[~2021-01-28 23:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-28 23:56 jarkko [this message]
2021-01-28 23:56 ` [PATCH v5 1/3] KEYS: trusted: Fix incorrect handling of tpm_get_random() jarkko
2021-01-31 12:45 ` Mimi Zohar
2021-01-28 23:56 ` [PATCH v5 2/3] KEYS: trusted: Fix migratable=1 failing jarkko
2021-01-28 23:56 ` [PATCH v5 3/3] KEYS: trusted: Reserve TPM for seal and unseal operations jarkko
[not found] ` <CAFA6WYOAbHV=sOxuUdJq91sZbKDMbo6D5KXcSp9ix0PWLpSdaA@mail.gmail.com>
2021-01-30 21:27 ` Jarkko Sakkinen
[not found] ` <6459b955f8cb05dae7d15a233f26ff9c9501b839.camel@linux.ibm.com>
2021-01-30 21:28 ` Jarkko Sakkinen
2021-01-31 12:52 ` Mimi Zohar
2021-02-02 16:29 ` Jarkko Sakkinen
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=20210128235621.127925-1-jarkko@kernel.org \
--to=jarkko@kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).