summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a/kernelconfig
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-02-13 16:01:49 +0100
committerRobert Schwebel <r.schwebel@pengutronix.de>2018-02-18 20:18:37 +0100
commit37744763b610fc5a1d8331d15025d546d634837a (patch)
tree90a47867388b631dcee1b0c3c4e85a0a7a827cb7 /configs/platform-v7a/kernelconfig
parent941f5d281a7f3900e291771815b3e7b86d788304 (diff)
downloadDistroKit-37744763b610fc5a1d8331d15025d546d634837a.tar.gz
DistroKit-37744763b610fc5a1d8331d15025d546d634837a.tar.xz
kernelconfig: reason: filter access to /dev/mem
Access to normal system memory is usually not needed and it makes compromising the kernel more difficult. IO addresses are still accessible as long as CONFIG_IO_STRICT_DEVMEM is disabled. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'configs/platform-v7a/kernelconfig')
-rw-r--r--configs/platform-v7a/kernelconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/configs/platform-v7a/kernelconfig b/configs/platform-v7a/kernelconfig
index 9149a94..4e0bff5 100644
--- a/configs/platform-v7a/kernelconfig
+++ b/configs/platform-v7a/kernelconfig
@@ -3099,7 +3099,8 @@ CONFIG_HAVE_ARCH_KGDB=y
# CONFIG_ARCH_WANTS_UBSAN_NO_NULL is not set
# CONFIG_UBSAN is not set
CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y
-# CONFIG_STRICT_DEVMEM is not set
+CONFIG_STRICT_DEVMEM=y
+# CONFIG_IO_STRICT_DEVMEM is not set
# CONFIG_ARM_PTDUMP is not set
CONFIG_ARM_UNWIND=y
CONFIG_OLD_MCOUNT=y