Skip to content

tpm2-session: correct disperancies

Jarkko Sakkinen keyrings linux-integrity linux-security-module lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tpm: Use -EPERM as fallback error code in tpm_ret_to_errinclude/linux/tpm.h security/keys/trusted-keys/trusted_tpm2.c+13 -222 replies
2/4tpm2-sessions: Remove unused parameter from tpm_buf_append_authdrivers/char/tpm/tpm2-cmd.c drivers/char/tpm/tpm2-sessions.c include/linux/tpm.h+4 -282 replies
3/4tpm2-sessions: Remove unnecessary wrapperdrivers/char/tpm/tpm2-cmd.c security/keys/trusted-keys/trusted_tpm2.c+21 -52 replies
4/4keys, trusted: Remove redundant helpersecurity/keys/trusted-keys/trusted_tpm2.c+9 -422 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchJonathan McDowell
1/4
2/4
3/4
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] tpm2-session: correct disperancies

Correct various disperancies in tpm2-session implementation that set knots on improving the feature.

Jarkko Sakkinen (4):
tpm: Use -EPERM as fallback error code in tpm_ret_to_err
tpm2-sessions: Remove unused parameter from tpm_buf_append_auth
tpm2-sessions: Remove unnecessary wrapper
keys, trusted: Remove redundant helper

 drivers/char/tpm/tpm2-cmd.c               | 16 +++-
 drivers/char/tpm/tpm2-sessions.c          |  5 +-
 include/linux/tpm.h                       | 34 ++-------
 security/keys/trusted-keys/trusted_tpm2.c | 89 +++++++----------------
 4 files changed, 47 insertions(+), 97 deletions(-)
Signature · 1 line
2.39.5