powerpc: Implement CONFIG_STRICT_DEVMEM
[deliverable/linux.git] / arch / powerpc / Kconfig.debug
index 1b8a9c905cf7f429e13be1ab97f809cd5a92aa80..4ccb2a009f745f3477502964be609eeb14147cfa 100644 (file)
@@ -336,4 +336,16 @@ config PPC_EARLY_DEBUG_CPM_ADDR
          platform probing is done, all platforms selected must
          share the same address.
 
+config STRICT_DEVMEM
+       def_bool y
+       prompt "Filter access to /dev/mem"
+       help
+         This option restricts access to /dev/mem.  If this option is
+         disabled, you allow userspace access to all memory, including
+         kernel and userspace memory. Accidental memory access is likely
+         to be disastrous.
+         Memory access is required for experts who want to debug the kernel.
+
+         If you are unsure, say Y.
+
 endmenu
This page took 0.023411 seconds and 5 git commands to generate.