From: Russell King Date: Thu, 24 Oct 2013 07:12:39 +0000 (+0100) Subject: ARM: implement basic NX support for kernel lowmem mappings X-Git-Tag: v3.14-rc1~116^2~1^4~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebd4922ecc38e31e662cd641dd04099a9652c9b3;p=pandora-kernel.git ARM: implement basic NX support for kernel lowmem mappings Add basic NX support for kernel lowmem mappings. We mark any section which does not overlap kernel text as non-executable, preventing it from being used to write code and then execute directly from there. This does not change the alignment of the sections, so the kernel image doesn't grow significantly via this change, so we can do this without needing a config option. Signed-off-by: Russell King --- Reading git-diff-tree failed