|
@@ -5,14 +5,15 @@ config TRACE_IRQFLAGS_SUPPORT
|
|
|
|
|
|
source "lib/Kconfig.debug"
|
|
|
|
|
|
-config PROMISC_DEVMEM
|
|
|
- bool "Allow unlimited access to /dev/mem"
|
|
|
- default y
|
|
|
+config STRICT_DEVMEM
|
|
|
+ bool "Filter access to /dev/mem"
|
|
|
help
|
|
|
If this option is left on, 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.
|
|
|
+ be used by people debugging the kernel. Note that with PAT support
|
|
|
+ enabled, even in this case there are restrictions on /dev/mem
|
|
|
+ use due to the cache aliasing requirements.
|
|
|
|
|
|
If this option is switched on, the /dev/mem file only allows
|
|
|
userspace access to PCI space and the BIOS code and data regions.
|