summaryrefslogtreecommitdiffstats
path: root/Restrict-dev-mem-and-dev-kmem-when-module-loading-is.patch
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@fedoraproject.org>2014-10-13 13:42:01 -0400
committerJosh Boyer <jwboyer@fedoraproject.org>2014-10-13 13:42:01 -0400
commit6b375296a7557bc617ed814b212ed7eada68d69f (patch)
tree5bbe585c7fd4cb2a935e5679c8d9acfbe00b1e3e /Restrict-dev-mem-and-dev-kmem-when-module-loading-is.patch
parent91dcc1748da25674ed5a47e65a77153bcef55424 (diff)
downloadkernel-6b375296a7557bc617ed814b212ed7eada68d69f.tar.gz
kernel-6b375296a7557bc617ed814b212ed7eada68d69f.tar.xz
kernel-6b375296a7557bc617ed814b212ed7eada68d69f.zip
Linux v3.17-7872-g5ff0b9e1a1da
Diffstat (limited to 'Restrict-dev-mem-and-dev-kmem-when-module-loading-is.patch')
-rw-r--r--Restrict-dev-mem-and-dev-kmem-when-module-loading-is.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/Restrict-dev-mem-and-dev-kmem-when-module-loading-is.patch b/Restrict-dev-mem-and-dev-kmem-when-module-loading-is.patch
index 003bfec72..3cdd4670c 100644
--- a/Restrict-dev-mem-and-dev-kmem-when-module-loading-is.patch
+++ b/Restrict-dev-mem-and-dev-kmem-when-module-loading-is.patch
@@ -13,7 +13,7 @@ Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
1 file changed, 6 insertions(+)
diff --git a/drivers/char/mem.c b/drivers/char/mem.c
-index cdf839f9defe..c63cf93b00eb 100644
+index c268e2581ed6..fb9ea1172ba8 100644
--- a/drivers/char/mem.c
+++ b/drivers/char/mem.c
@@ -164,6 +164,9 @@ static ssize_t write_mem(struct file *file, const char __user *buf,