summaryrefslogtreecommitdiffstats
path: root/kexec-Disable-at-runtime-if-the-kernel-enforces-modu.patch
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@fedoraproject.org>2014-09-01 10:27:14 -0400
committerJosh Boyer <jwboyer@fedoraproject.org>2014-09-01 10:27:14 -0400
commit27d7c4756aae270c7f272675f73e63644c927582 (patch)
tree58c52d94d95133ff2b243a8281dc42d15fec4f65 /kexec-Disable-at-runtime-if-the-kernel-enforces-modu.patch
parent4b72251382c8f15a9f0f52947ff70eee51ace498 (diff)
downloadkernel-27d7c4756aae270c7f272675f73e63644c927582.tar.gz
kernel-27d7c4756aae270c7f272675f73e63644c927582.tar.xz
kernel-27d7c4756aae270c7f272675f73e63644c927582.zip
Linux v3.17-rc3
- Disable debugging options.
Diffstat (limited to 'kexec-Disable-at-runtime-if-the-kernel-enforces-modu.patch')
-rw-r--r--kexec-Disable-at-runtime-if-the-kernel-enforces-modu.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/kexec-Disable-at-runtime-if-the-kernel-enforces-modu.patch b/kexec-Disable-at-runtime-if-the-kernel-enforces-modu.patch
index 9f58651cd..fbc8ca59c 100644
--- a/kexec-Disable-at-runtime-if-the-kernel-enforces-modu.patch
+++ b/kexec-Disable-at-runtime-if-the-kernel-enforces-modu.patch
@@ -1,4 +1,4 @@
-From b44851be03d4f56ad97c7e6b460318f27118e26a Mon Sep 17 00:00:00 2001
+From 6626682591af435f13ee1553e381ebfd58e23f3f Mon Sep 17 00:00:00 2001
From: Matthew Garrett <matthew.garrett@nebula.com>
Date: Fri, 9 Aug 2013 03:33:56 -0400
Subject: [PATCH] kexec: Disable at runtime if the kernel enforces module
@@ -14,7 +14,7 @@ Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
1 file changed, 8 insertions(+)
diff --git a/kernel/kexec.c b/kernel/kexec.c
-index 0b49a0a58102..8e649f7c22e1 100644
+index 2bee072268d9..891477dbfee0 100644
--- a/kernel/kexec.c
+++ b/kernel/kexec.c
@@ -36,6 +36,7 @@
@@ -25,7 +25,7 @@ index 0b49a0a58102..8e649f7c22e1 100644
#include <asm/page.h>
#include <asm/uaccess.h>
-@@ -1245,6 +1246,13 @@ SYSCALL_DEFINE4(kexec_load, unsigned long, entry, unsigned long, nr_segments,
+@@ -1251,6 +1252,13 @@ SYSCALL_DEFINE4(kexec_load, unsigned long, entry, unsigned long, nr_segments,
return -EPERM;
/*