Unsorted tpm2-sessions improvements
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest5 patches 3 repliesIn review
- v24 patches 3 repliesSuperseded
- v14 patches 0 repliesSuperseded
Changes in v3 from the cover letter
- Add "tpm-buf: Make tpm_buf_read*() fallible".
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | tpm2-sessions: Drop TPM2_NAME_SIZEdrivers/ drivers/ include/ | +3 | 2 replies | |
| 2/5 | KEYS: trusted: Open code tpm2_buf_append_auth()security/ | +7 | 0 replies | |
| 3/5 | KEYS: trusted: Remove dead branch from tpm2_unseal_cmdsecurity/ | +1 | 0 replies | |
| 4/5 | tpm2-sessions: Re-orchestrate tpm2_read_public() usedrivers/ drivers/ include/ +1 more | +84 | 0 replies | |
| 5/5 | tpm-buf: Make tpm_buf_read*() fallibledrivers/ drivers/ include/ +1 more | +178 | 1 reply |
Reviews trailers per patch
3 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Jonathan McDowell |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/5] Unsorted tpm2-sessions improvements
Collected patches that still make sense from [1] and tweaked where needed.
[1] https://lore.kernel.org/linux-integrity/[email protected]/#t
CHANGES
=======
v3:
- Add "tpm-buf: Make tpm_buf_read*() fallible".
v2:
- Based on Sashiko feedback I changed "offset += tpm_buf_read_u16()" into "rc = tpm_buf_read_u16(...)" and "offset += rc". I'm convinced that this was necessary but since it does not have a cost, at least this should mute Sashiko.
VERSIONS
========
v1: https://lore.kernel.org/linux-integrity/[email protected]/
Jarkko Sakkinen (5):
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
tpm-buf: Make tpm_buf_read*() fallible
drivers/char/tpm/tpm-buf.c | 56 ++-- drivers/char/tpm/tpm-sysfs.c | 2 +- drivers/char/tpm/tpm2-cmd.c | 9 +- drivers/char/tpm/tpm2-sessions.c | 306 +++++++++++++--------- include/linux/tpm.h | 18 +- include/linux/tpm_buf.h | 6 +- security/keys/trusted-keys/trusted_tpm2.c | 93 +++---- 7 files changed, 270 insertions(+), 220 deletions(-)
--
2.47.3