WSL2-Linux-Kernel/crypto/asymmetric_keys
Robbie Harwood 0efd9ed929 asymmetric_keys: log on fatal failures in PE/pkcs7
[ Upstream commit 3584c1dbff ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-20 12:13:54 +02:00
..
Kconfig
Makefile
asym_tpm.c
asymmetric_keys.h
asymmetric_type.c
mscode.asn1
mscode_parser.c
pkcs7.asn1
pkcs7_key_type.c
pkcs7_parser.c
pkcs7_parser.h
pkcs7_trust.c
pkcs7_verify.c asymmetric_keys: log on fatal failures in PE/pkcs7 2023-04-20 12:13:54 +02:00
pkcs8.asn1
pkcs8_parser.c
public_key.c KEYS: asymmetric: Fix ECDSA use via keyctl uapi 2023-03-10 09:39:05 +01:00
restrict.c
signature.c
tpm.asn1
tpm_parser.c
verify_pefile.c asymmetric_keys: log on fatal failures in PE/pkcs7 2023-04-20 12:13:54 +02:00
verify_pefile.h
x509.asn1
x509_akid.asn1
x509_cert_parser.c
x509_parser.h
x509_public_key.c