summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/asm-offsets.h
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2012-12-18 15:15:15 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2013-01-10 11:48:48 +0100
commita6fadf7e67d3794aae40244f435d281a62736c93 (patch)
tree2f12828305659a7ae4ec51305f44f1d836aa474b /arch/arm64/include/asm/asm-offsets.h
parentarm64: mm: only wrprotect clean ptes if they are present (diff)
downloadlinux-a6fadf7e67d3794aae40244f435d281a62736c93.tar.xz
linux-a6fadf7e67d3794aae40244f435d281a62736c93.zip
arm64: mm: introduce present, faulting entries for PAGE_NONE
This is mostly a port of dbf62d50067e ("ARM: mm: introduce L_PTE_VALID for page table entries") and 26ffd0d43b18 ("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>
Diffstat (limited to 'arch/arm64/include/asm/asm-offsets.h')
0 files changed, 0 insertions, 0 deletions