summaryrefslogtreecommitdiffstats
path: root/freed-ora/current/master/x86-Lock-down-IO-port-access-when-module-security-is.patch
diff options
context:
space:
mode:
authorAlexandre Oliva <lxoliva@fsfla.org>2015-02-03 15:11:10 +0000
committerAlexandre Oliva <lxoliva@fsfla.org>2015-02-03 15:11:10 +0000
commitf786d9e0d211f8e4e9010b4b95f35125ac83872c (patch)
tree6d96aa3100494d1994cf6dd41448a4e991693917 /freed-ora/current/master/x86-Lock-down-IO-port-access-when-module-security-is.patch
parent1e9354de8098043c46364a6b3f6e2942f368491b (diff)
downloadlinux-libre-raptor-f786d9e0d211f8e4e9010b4b95f35125ac83872c.tar.gz
linux-libre-raptor-f786d9e0d211f8e4e9010b4b95f35125ac83872c.zip
3.19.0-0.rc6.git0.1.fc22.gnu
Diffstat (limited to 'freed-ora/current/master/x86-Lock-down-IO-port-access-when-module-security-is.patch')
-rw-r--r--freed-ora/current/master/x86-Lock-down-IO-port-access-when-module-security-is.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/freed-ora/current/master/x86-Lock-down-IO-port-access-when-module-security-is.patch b/freed-ora/current/master/x86-Lock-down-IO-port-access-when-module-security-is.patch
index 13392c902..cf57f33bd 100644
--- a/freed-ora/current/master/x86-Lock-down-IO-port-access-when-module-security-is.patch
+++ b/freed-ora/current/master/x86-Lock-down-IO-port-access-when-module-security-is.patch
@@ -44,7 +44,7 @@ index 4ddaf66ea35f..00b440307419 100644
}
regs->flags = (regs->flags & ~X86_EFLAGS_IOPL) | (level << 12);
diff --git a/drivers/char/mem.c b/drivers/char/mem.c
-index 524b707894ef..c268e2581ed6 100644
+index 4c58333b4257..fc9637812d78 100644
--- a/drivers/char/mem.c
+++ b/drivers/char/mem.c
@@ -27,6 +27,7 @@
@@ -55,7 +55,7 @@ index 524b707894ef..c268e2581ed6 100644
#include <asm/uaccess.h>
-@@ -568,6 +569,9 @@ static ssize_t write_port(struct file *file, const char __user *buf,
+@@ -571,6 +572,9 @@ static ssize_t write_port(struct file *file, const char __user *buf,
unsigned long i = *ppos;
const char __user *tmp = buf;
OpenPOWER on IntegriCloud