[PATCH v5] arm: Support for the PXN CPU feature on ARMv7

Catalin Marinas catalin.marinas at arm.com
Fri Nov 28 09:27:33 PST 2014


On Fri, Nov 28, 2014 at 03:44:51PM +0000, Jungseung Lee wrote:
> Modern ARMv7-A/R cores optionally implement below new
> hardware feature:
> 
> - PXN:
> Privileged execute-never(PXN) is a security feature. PXN bit
> determines whether the processor can execute software from
> the region. This is effective solution against ret2usr attack.
> On an implementation that does not include the LPAE, PXN is
> optionally supported.
> 
> This patch set PXN bit on user page table for preventing
> user code execution with privilege mode.
> 
> Reviewed-by: Catalin Marinas <catalin.marinas at arm.com>
> Signed-off-by: Jungseung Lee <js07.lee at gmail.com>

The patch looks fine to me. Unless there are other objections, you can
send it to Russell's patch system:

http://www.arm.linux.org.uk/developer/patches/

-- 
Catalin



More information about the linux-arm-kernel mailing list