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>2021-03-17 12:38:46 -0500
committerJustin M. Forbes <jforbes@fedoraproject.org>2021-03-17 12:38:46 -0500
commit2d7cbaa6f9fa69d3f60984b67c2d03e57e6d9759 (patch)
treea1d03aed06bd868aef5d39f73d2bd5b64941612a /0001-Make-get_cert_list-use-efi_status_to_str-to-print-er.patch
parent8cb9b8957f6c41855069d943280362fbf45cdbf1 (diff)
downloadkernel-2d7cbaa6f9fa69d3f60984b67c2d03e57e6d9759.tar.gz
kernel-2d7cbaa6f9fa69d3f60984b67c2d03e57e6d9759.tar.xz
kernel-2d7cbaa6f9fa69d3f60984b67c2d03e57e6d9759.zip
kernel-5.11.7-9
* Wed Mar 17 2021 Justin M. Forbes <jforbes@fedoraproject.org> [5.11.7-9] - Disable weak-modules again rhbz 1828455 (Justin M. Forbes) - More config updates for gcc-plugin turn off (Justin M. Forbes) - fedora: the PCH_CAN driver is x86-32 only (Peter Robinson) - common: disable legacy CAN device support (Peter Robinson) - common: Enable Microchip MCP251x/MCP251xFD CAN controllers (Peter Robinson) - common: Bosch MCAN support for Intel Elkhart Lake (Peter Robinson) - common: enable CAN_PEAK_PCIEFD PCI-E driver (Peter Robinson) - common: disable CAN_PEAK_PCIEC PCAN-ExpressCard (Peter Robinson) - common: enable common CAN layer 2 protocols (Peter Robinson) - ark: disable CAN_LEDS option (Peter Robinson) 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.patch40
1 files changed, 0 insertions, 40 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
deleted file mode 100644
index 65312b3d1..000000000
--- a/0001-Make-get_cert_list-use-efi_status_to_str-to-print-er.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Peter Jones <pjones@redhat.com>
-Date: Mon, 2 Oct 2017 18:18:30 -0400
-Subject: [PATCH] Make get_cert_list() use efi_status_to_str() to print error
- messages.
-
-Upstream Status: RHEL only
-Signed-off-by: Peter Jones <pjones@redhat.com>
-Signed-off-by: Jeremy Cline <jcline@redhat.com>
----
- security/integrity/platform_certs/load_uefi.c | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/security/integrity/platform_certs/load_uefi.c b/security/integrity/platform_certs/load_uefi.c
-index 253fb9a7fc98..8c95b68d86d4 100644
---- a/security/integrity/platform_certs/load_uefi.c
-+++ 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) {
- kfree(db);
-- pr_err("Error reading db var: 0x%lx\n", *status);
-+ pr_err("Error reading db var: %s (0x%lx)\n",
-+ efi_status_to_str(*status), *status);
- return NULL;
- }
-
---
-2.28.0
-