[PATCH 0/4] Unsorted tpm2-sessions improvements

Jarkko Sakkinen jarkko at kernel.org
Sun Nov 15 22:47:18 UTC 2026


Collected patches that still make sense from [1] and tweaked where needed.

[1] https://lore.kernel.org/linux-integrity/20260125192526.782202-1-jarkko@kernel.org/#t

Cc: keyrings at vger.kernel.org
Cc: linux-integrity at vger.kernel.org
Cc: linux-kernel at vger.kernel.org
Cc: linux-security-module at vger.kernel.org
Cc: Alec Brown <alec.r.brown at oracle.com>
Cc: "Daniel P. Smith" <dpsmith at apertussolutions.com>
Cc: David Howells <dhowells at redhat.com>
Cc: James Bottomley <James.Bottomley at HansenPartnership.com>
Cc: James Morris <jmorris at namei.org>
Cc: Jarkko Sakkinen <jarkko at kernel.org>
Cc: Jason Gunthorpe <jgg at ziepe.ca>
Cc: Jonathan McDowell <noodles at earth.li>
Cc: Matthew Garrett <mjg59 at srcf.ucam.org>
Cc: Mimi Zohar <zohar at linux.ibm.com>
Cc: Paul Moore <paul at paul-moore.com>
Cc: Peter Huewe <peterhuewe at gmx.de>
Cc: Ross Philipson <ross.philipson at gmail.com>
Cc: "Serge E. Hallyn" <serge at hallyn.com>

Jarkko Sakkinen (4):
  tpm2-sessions: Drop TPM2_NAME_SIZE
  KEYS: trusted: Open code tpm2_buf_append_auth()
  KEYS: trusted: Remove dead branch from tpm2_unseal_cmd
  tpm2-sessions: Re-orchestrate tpm2_read_public() use

 drivers/char/tpm/tpm-sysfs.c              |   2 +-
 drivers/char/tpm/tpm2-cmd.c               |   9 +-
 drivers/char/tpm/tpm2-sessions.c          | 121 +++++++---------------
 include/linux/tpm.h                       |  18 ++--
 security/keys/trusted-keys/trusted_tpm2.c |  83 +++++++--------
 5 files changed, 93 insertions(+), 140 deletions(-)

--
2.47.3




More information about the Linux-security-module-archive mailing list