Re: [PATCH -mm] Revoke core code: fix nommu arch compiling error bug

Mike Frysinger
2007-03-27T07:20:35Z

On 3/27/07, Pekka J Enberg <penberg@cs.helsinki.fi> wrote:
> On Tue, 27 Mar 2007, Wu, Bryan wrote:
> > Agree. MPU of Blackfin can provide some processes protection. But maybe
> > at this moment just disable revoke for NOMMU is easier for further
> > development. When we provide the MPU stuff, maybe we can enable the
> > revoke for NOMMU but MPU arch.
>
> Yeah, MPU should be sufficient for revoke(). Note that mmap() and mummap()
> suffers from the same problem on NOMMU so perhaps we really should do
> CONFIG_MPU.

we would need both ... MPU gives us the ability to restrict access,
but we'd still be unable to do fun things like COW
-mike