diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-02-13 16:01:49 +0100 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2018-02-18 20:18:37 +0100 |
commit | 37744763b610fc5a1d8331d15025d546d634837a (patch) | |
tree | 90a47867388b631dcee1b0c3c4e85a0a7a827cb7 | |
parent | 941f5d281a7f3900e291771815b3e7b86d788304 (diff) | |
download | DistroKit-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>
-rw-r--r-- | configs/platform-v7a/kernelconfig | 3 |
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 |