summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSrish Srinivasan <ssrish@linux.ibm.com>2026-09-12 11:59:49 +0530
committerJarkko Sakkinen <jarkko@kernel.org>2026-10-19 16:25:48 +0300
commitf92d0ccb05bf9089072cb067dda0dffd5394c4ef (patch)
tree1a413b40268a4d8ff463a2877448e1db10e1f5a4 /tools/perf/scripts/python/export-to-postgresql.py
parentc03c1a14507dfaf8b856c2608f9ac216021fc222 (diff)
keys/trusted_keys: return immediately after TPM unseal failure
trusted_tpm_unseal() proceeds to pcrlock() when the TPM unseal operation fails. If pcrlock() succeeds, its return value overwrites the unseal error, causing key instantiation to succeed. Return immediately when unseal fails to preserve the original error. Cc: stable@vger.kernel.org # v5.15+ Fixes: 5d0682be3189 ("KEYS: trusted: Add generic trusted keys framework") Signed-off-by: Srish Srinivasan <ssrish@linux.ibm.com> Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org> Link: https://lore.kernel.org/r/20260912062950.279104-2-ssrish@linux.ibm.com Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions