summaryrefslogtreecommitdiffstats
path: root/0001-Make-get_cert_list-use-efi_status_to_str-to-print-er.patch
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2020-06-30 09:24:22 -0500
committerJustin M. Forbes <jforbes@fedoraproject.org>2020-06-30 09:24:22 -0500
commitd176dfce22f5ead7a6018edb69757bc8840cc008 (patch)
treeaa15398098e0f20a9fb643441ec8443b2ffd6328 /0001-Make-get_cert_list-use-efi_status_to_str-to-print-er.patch
parent61b5e2fd06a4be7134afb1cd363002e015123f7f (diff)
downloadkernel-d176dfce22f5ead7a6018edb69757bc8840cc008.tar.gz
kernel-d176dfce22f5ead7a6018edb69757bc8840cc008.tar.xz
kernel-d176dfce22f5ead7a6018edb69757bc8840cc008.zip
kernel-5.8.0-0.rc3.20200630git7c30b859a947.1
* Tue Jun 30 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.8.0-0.rc3.20200630git7c30b859a947.1] - 7c30b859a947 rebase - Updated changelog for the release based on v5.8-rc3 (Fedora Kernel Team) Resolves: rhbz# Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
Diffstat (limited to '0001-Make-get_cert_list-use-efi_status_to_str-to-print-er.patch')
-rw-r--r--0001-Make-get_cert_list-use-efi_status_to_str-to-print-er.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/0001-Make-get_cert_list-use-efi_status_to_str-to-print-er.patch b/0001-Make-get_cert_list-use-efi_status_to_str-to-print-er.patch
index c547b2246..671b7402f 100644
--- a/0001-Make-get_cert_list-use-efi_status_to_str-to-print-er.patch
+++ b/0001-Make-get_cert_list-use-efi_status_to_str-to-print-er.patch
@@ -17,14 +17,14 @@ index 253fb9a7fc98..8c95b68d86d4 100644
+++ b/security/integrity/platform_certs/load_uefi.c
@@ -46,7 +46,8 @@ static __init void *get_cert_list(efi_char16_t *name, efi_guid_t *guid,
return NULL;
-
+
if (*status != EFI_BUFFER_TOO_SMALL) {
- pr_err("Couldn't get size: 0x%lx\n", *status);
+ pr_err("Couldn't get size: %s (0x%lx)\n",
+ efi_status_to_str(*status), *status);
return NULL;
}
-
+
@@ -57,7 +58,8 @@ static __init void *get_cert_list(efi_char16_t *name, efi_guid_t *guid,
*status = efi.get_variable(name, guid, NULL, &lsize, db);
if (*status != EFI_SUCCESS) {
@@ -34,7 +34,7 @@ index 253fb9a7fc98..8c95b68d86d4 100644
+ efi_status_to_str(*status), *status);
return NULL;
}
-
+
--
-2.25.4
+2.26.2