diff options
author | Robbie Harwood <rharwood@redhat.com> | 2023-02-20 18:12:54 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2023-03-21 17:23:56 +0100 |
commit | 3584c1dbfffdabf8e3dc1dd25748bb38dd01cd43 (patch) | |
tree | 1b88c30a35cc142ef24a60f8dc50ac5720040055 /include/ras | |
parent | verify_pefile: relax wrapper length check (diff) | |
download | linux-3584c1dbfffdabf8e3dc1dd25748bb38dd01cd43.tar.xz linux-3584c1dbfffdabf8e3dc1dd25748bb38dd01cd43.zip |
asymmetric_keys: log on fatal failures in PE/pkcs7
These particular errors can be encountered while trying to kexec when
secureboot lockdown is in place. Without this change, even with a
signed debug build, one still needs to reboot the machine to add the
appropriate dyndbg parameters (since lockdown blocks debugfs).
Accordingly, upgrade all pr_debug() before fatal error into pr_warn().
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Jarkko Sakkinen <jarkko@kernel.org>
cc: Eric Biederman <ebiederm@xmission.com>
cc: Herbert Xu <herbert@gondor.apana.org.au>
cc: keyrings@vger.kernel.org
cc: linux-crypto@vger.kernel.org
cc: kexec@lists.infradead.org
Link: https://lore.kernel.org/r/20230220171254.592347-3-rharwood@redhat.com/ # v2
Diffstat (limited to 'include/ras')
0 files changed, 0 insertions, 0 deletions