alistair23-linux/arch/arm64
Will Deacon a6fadf7e67 arm64: mm: introduce present, faulting entries for PAGE_NONE
This is mostly a port of dbf62d5006 ("ARM: mm: introduce L_PTE_VALID
for page table entries") and 26ffd0d43b ("ARM: mm: introduce present,
faulting entries for PAGE_NONE") from ARM, which makes use of present,
faulting page table entries for page table entries mapped as PROT_NONE.

The main difference with this implementation is that we can make use of
the two pte type bits in order to avoid allocating a software bit for
identifying PROT_NONE pages, instead reserving the 10b suffix for these
types of mappings.

This is required to prevent users from accessing such pages via syscalls
such as read/write over a pipe.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2013-01-10 10:48:48 +00:00
..
boot arm64: Add dtbs target for building all the enabled dtb files 2012-12-03 17:17:21 -06:00
configs arm64: Build infrastructure 2012-09-17 13:42:21 +01:00
include arm64: mm: introduce present, faulting entries for PAGE_NONE 2013-01-10 10:48:48 +00:00
kernel arm64: vdso: remove broken, redundant sequence counting for timezones 2013-01-10 10:43:43 +00:00
lib arm64: Miscellaneous library functions 2012-09-17 13:42:18 +01:00
mm arm64: Convert empty flush_cache_{mm,page} functions to static inline 2012-11-23 18:15:32 +00:00
Kconfig arm64: Always select ARM_AMBA and GENERIC_GPIO 2013-01-04 13:20:09 +00:00
Kconfig.debug arm64: Build infrastructure 2012-09-17 13:42:21 +01:00
Makefile arm64: Fix the dtbs target building 2012-12-10 20:24:57 -06:00