summaryrefslogtreecommitdiffstats
path: root/0001-Make-get_cert_list-use-efi_status_to_str-to-print-er.patch
diff options
context:
space:
mode:
authorAugusto Caringi <acaringi@redhat.com>2020-06-29 15:02:20 -0300
committerAugusto Caringi <acaringi@redhat.com>2020-06-29 15:02:20 -0300
commit9b53592daf7ec9906beefa9e36772dafcf446132 (patch)
treead225c0978d9a8ab32e649eb21b43492525b3c4e /0001-Make-get_cert_list-use-efi_status_to_str-to-print-er.patch
parenta6d5bdfa755afd46b7cb294d2a32a4f53e79aef3 (diff)
downloadkernel-9b53592daf7ec9906beefa9e36772dafcf446132.tar.gz
kernel-9b53592daf7ec9906beefa9e36772dafcf446132.tar.xz
kernel-9b53592daf7ec9906beefa9e36772dafcf446132.zip
kernel-5.8.0-0.rc3.1
* Mon Jun 29 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.8.0-0.rc3.1] - v5.8-rc3 rebase - s390x-zfcpdump: Handle missing Module.symvers file (Don Zickus) - Updated changelog for the release based on 8be3a53e18e0 (Fedora Kernel Team) Resolves: rhbz# Signed-off-by: Augusto Caringi <acaringi@redhat.com>
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 671b7402f..c547b2246 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.26.2
+2.25.4