[PATCH] Simple NX lowmem mappings
Kees Cook
keescook at chromium.org
Thu Oct 24 04:45:02 EDT 2013
Hi,
Thanks for starting this work!
Russel said:
> -#define MT_MEMORY 9
> [...]
> + MT_MEMORY,
> + MT_MEMORY_NX,
Instead of these names, let's more fully describe the protections. "NX"
doesn't say anything about RO vs RW. Instead, how about:
MT_MEMORY_RWX (to replace MT_MEMORY)
MT_MEMORY_RW (as the new "NX" in use for this patch)
for the first change? Then as we move forward, we can add:
MT_MEMORY_R
At which point we'll have the three states.
-Kees
--
Kees Cook @outflux.net
More information about the linux-arm-kernel
mailing list