X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=arch%2Farm64%2FKconfig.debug;h=d10ec334c93b4a3f8db194e1a929c711e5dbcf90;hb=96c2ac4cc5beb9c1e3798cb40cf74af093ec60b4;hp=835c559786bda923fe0cb8616b3031932a86bb21;hpb=e23c34bb41da65f354fb7eee04300c56ee48f60c;p=karo-tx-linux.git diff --git a/arch/arm64/Kconfig.debug b/arch/arm64/Kconfig.debug index 835c559786bd..d10ec334c93b 100644 --- a/arch/arm64/Kconfig.debug +++ b/arch/arm64/Kconfig.debug @@ -6,6 +6,20 @@ config FRAME_POINTER bool default y +config STRICT_DEVMEM + bool "Filter access to /dev/mem" + depends on MMU + help + If this option is disabled, you allow userspace (root) access to all + of memory, including kernel and userspace memory. Accidental + access to this is obviously disastrous, but specific access can + be used by people debugging the kernel. + + If this option is switched on, the /dev/mem file only allows + userspace access to memory mapped peripherals. + + If in doubt, say Y. + config EARLY_PRINTK bool "Early printk support" default y