summaryrefslogtreecommitdiff
path: root/lib/variables.c
diff options
context:
space:
mode:
authorRenaud Métrich <rmetrich@redhat.com>2021-09-08 14:02:07 +0200
committerPeter Jones <pjones@redhat.com>2021-09-13 15:02:13 -0400
commit11740ea761ac5a1eb84c865edbdcd750f2a8b04f (patch)
treee2a9d48fc6e0180dccf19b66fe15119ac3d70149 /lib/variables.c
parent26998367eb6153cd24b6e82949d5f7874a036372 (diff)
downloadefi-boot-shim-11740ea761ac5a1eb84c865edbdcd750f2a8b04f.tar.gz
efi-boot-shim-11740ea761ac5a1eb84c865edbdcd750f2a8b04f.zip
Don't make shim abort when TPM log event fails (RHBZ #2002265)
On Dell hardware booted in UEFI with option TPM 1.2 "On without Pre-Boot Measurements", it appears that `tpm_log_event()` fails with Unsupported, which causes Shim to abort due to believing it couldn't set up the MokListRT, MokListXRT and SbatLevelRT variables. This patch ignore the error when trying to write to the TPM and sets the TPM as 'defective' to not try to write to it anymore. Signed-off-by: Renaud Métrich <rmetrich@redhat.com>
Diffstat (limited to 'lib/variables.c')
0 files changed, 0 insertions, 0 deletions