ARM: implement CONFIG_STRICT_DEVMEM by disabling access to RAM via /dev/mem
authorNicolas Pitre <nico@fluxnic.net>
Wed, 22 Sep 2010 22:34:36 +0000 (18:34 -0400)
committerNicolas Pitre <nicolas.pitre@linaro.org>
Sat, 2 Oct 2010 02:31:34 +0000 (22:31 -0400)
There are very few legitimate use cases, if any, for directly accessing
system RAM through /dev/mem.  So let's mimic what they do on x86 and
forbid it when CONFIG_STRICT_DEVMEM is turned on.

Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>

No differences found