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

Nicolas Pitre nico at fluxnic.net
Thu Sep 23 17:24:17 EDT 2010


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



More information about the linux-arm-kernel mailing list