summaryrefslogtreecommitdiff
path: root/sys-kernel/cairn-sources/files/5.9.6/hardened-patches/0029-disable-DEVMEM-by-default.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/cairn-sources/files/5.9.6/hardened-patches/0029-disable-DEVMEM-by-default.patch')
-rw-r--r--sys-kernel/cairn-sources/files/5.9.6/hardened-patches/0029-disable-DEVMEM-by-default.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/sys-kernel/cairn-sources/files/5.9.6/hardened-patches/0029-disable-DEVMEM-by-default.patch b/sys-kernel/cairn-sources/files/5.9.6/hardened-patches/0029-disable-DEVMEM-by-default.patch
new file mode 100644
index 000000000000..c63440cfd64e
--- /dev/null
+++ b/sys-kernel/cairn-sources/files/5.9.6/hardened-patches/0029-disable-DEVMEM-by-default.patch
@@ -0,0 +1,24 @@
+From 7a65b2ce09ba97cb70c16055befa9803923c9a23 Mon Sep 17 00:00:00 2001
+From: Daniel Micay <danielmicay@gmail.com>
+Date: Fri, 5 Jan 2018 12:41:42 -0500
+Subject: [PATCH 029/108] disable DEVMEM by default
+
+---
+ drivers/char/Kconfig | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
+index 245004d074df..12378eea923d 100644
+--- a/drivers/char/Kconfig
++++ b/drivers/char/Kconfig
+@@ -326,7 +326,6 @@ config NSC_GPIO
+
+ config DEVMEM
+ bool "/dev/mem virtual device support"
+- default y
+ help
+ Say Y here if you want to support the /dev/mem device.
+ The /dev/mem device is used to access areas of physical
+--
+2.29.2
+