[PATCH] ARM: implement CONFIG_STRICT_DEVMEM by disabling access to RAM via /dev/mem

Nicolas Pitre
2010-09-23T21:24:17Z

On Thu, 23 Sep 2010, Russell King - ARM Linux wrote:

> On Thu, Sep 23, 2010 at 05:08:44PM -0400, Nicolas Pitre wrote:
> >
> > 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.
>
> Is this supposed to replace 6383/1 ?

No, this is orthogonal.

Nicolas