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

From: Mike Frysinger
Date: Tue Mar 27 2007 - 03:20:50 EST


On 3/27/07, Pekka J Enberg <penberg@xxxxxxxxxxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/