summaryrefslogtreecommitdiffstats
path: root/mm/mprotect.c
diff options
context:
space:
mode:
authorDave Hansen2016-07-29 18:30:10 +0200
committerThomas Gleixner2016-09-09 13:02:26 +0200
commite8c6226d483cb28f55cab718065ea1b7226d40e8 (patch)
tree8928848c744638a077e5f4867ea426485c523b49 /mm/mprotect.c
parentLinux 4.8-rc5 (diff)
downloadkernel-qcow2-linux-e8c6226d483cb28f55cab718065ea1b7226d40e8.tar.gz
kernel-qcow2-linux-e8c6226d483cb28f55cab718065ea1b7226d40e8.tar.xz
kernel-qcow2-linux-e8c6226d483cb28f55cab718065ea1b7226d40e8.zip
x86/pkeys: Add fault handling for PF_PK page fault bit
PF_PK means that a memory access violated the protection key access restrictions. It is unconditionally an access_error() because the permissions set on the VMA don't matter (the PKRU value overrides it), and we never "resolve" PK faults (like how a COW can "resolve write fault). Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Acked-by: Mel Gorman <mgorman@techsingularity.net> Cc: linux-arch@vger.kernel.org Cc: Dave Hansen <dave@sr71.net> Cc: arnd@arndb.de Cc: linux-api@vger.kernel.org Cc: linux-mm@kvack.org Cc: luto@kernel.org Cc: akpm@linux-foundation.org Cc: torvalds@linux-foundation.org Link: http://lkml.kernel.org/r/20160729163010.DD1FE1ED@viggo.jf.intel.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'mm/mprotect.c')
0 files changed, 0 insertions, 0 deletions