summaryrefslogtreecommitdiffstats
path: root/kexec-bzimage-verify-pe-signature-fix.patch
diff options
context:
space:
mode:
authorJeremy Cline <jcline@redhat.com>2018-08-17 09:27:40 +0100
committerJeremy Cline <jcline@redhat.com>2018-08-17 09:27:40 +0100
commit186cf004cba1758f86604d266ee0e34526be17ca (patch)
tree941dc4d17653627221032c3e3baa5780656f0ba1 /kexec-bzimage-verify-pe-signature-fix.patch
parente9bc1eed737b6cc6f28b30ccb0a2436dd9053636 (diff)
downloadkernel-186cf004cba1758f86604d266ee0e34526be17ca.tar.gz
kernel-186cf004cba1758f86604d266ee0e34526be17ca.tar.xz
kernel-186cf004cba1758f86604d266ee0e34526be17ca.zip
Linux v4.18-8108-g5c60a7389d79
Diffstat (limited to 'kexec-bzimage-verify-pe-signature-fix.patch')
-rw-r--r--kexec-bzimage-verify-pe-signature-fix.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/kexec-bzimage-verify-pe-signature-fix.patch b/kexec-bzimage-verify-pe-signature-fix.patch
deleted file mode 100644
index 6c8a51b95..000000000
--- a/kexec-bzimage-verify-pe-signature-fix.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From: Dave Young <dyoung@redhat.com>
-
-Fix kexec_file_load pefile signature verification
-
-Similar with Fix-for-module-sig-verification.patch, kexec_file syscall also
-need pass 1UL to verify_pefile_signature so that secondary keys can be used.
-
-Fedora bug
-https://bugzilla.redhat.com/show_bug.cgi?id=1470995
-
-Latest upstream effort is below:
-https://www.spinics.net/lists/kernel/msg2825184.html
-
-Ideally this need an upstream fix, but since nobody response we can workaround
-it like the module code did.
-
-Signed-off-by: Dave Young <dyoung@redhat.com>
----
- arch/x86/kernel/kexec-bzimage64.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- linux-x86.orig/arch/x86/kernel/kexec-bzimage64.c
-+++ linux-x86/arch/x86/kernel/kexec-bzimage64.c
-@@ -533,7 +533,7 @@ static int bzImage64_cleanup(void *loade
- static int bzImage64_verify_sig(const char *kernel, unsigned long kernel_len)
- {
- return verify_pefile_signature(kernel, kernel_len,
-- NULL,
-+ (void *)1UL,
- VERIFYING_KEXEC_PE_SIGNATURE);
- }
- #endif
---
-2.17.0