Filter access to /dev/mem

configname: CONFIG_STRICT_DEVMEM

Linux Kernel Configuration
└─>Kernel hacking
└─>Filter access to /dev/mem
In linux kernel since version 2.6.27 (release Date: 2008-10-09)  
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. 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.
This is sufficient for dosemu and X and all common users of
/dev/mem.

If in doubt, say Y.