Revert "arm64: Introduce execute-only page access permissions"
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 16 May 2014 15:44:32 +0000 (16:44 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 16 May 2014 15:44:32 +0000 (16:44 +0100)
commit5a0fdfada3a2aa50d7b947a2e958bf00cbe0d830
tree69ae10dd39df9e8de4edd1049d4dafe1436dd37e
parentcf5c95db57ffa02e430c3840c08d1ee0403849d4
Revert "arm64: Introduce execute-only page access permissions"

This reverts commit bc07c2c6e9ed125d362af0214b6313dca180cb08.

While the aim is increased security for --x memory maps, it does not
protect against kernel level reads. Until SECCOMP is implemented for
arm64, revert this patch to avoid giving a false idea of execute-only
mappings.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/pgtable.h
arch/arm64/mm/fault.c