From: Will Deacon Date: Sat, 1 Sep 2012 04:22:12 +0000 (+0100) Subject: ARM: mm: introduce present, faulting entries for PAGE_NONE X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~53^2^2~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26ffd0d43b186b0d5186354da8714a1c2d360df0;p=pandora-kernel.git ARM: mm: introduce present, faulting entries for PAGE_NONE PROT_NONE mappings apply the page protection attributes defined by _P000 which translate to PAGE_NONE for ARM. These attributes specify an XN, RDONLY pte that is inaccessible to userspace. However, on kernels configured without support for domains, such a pte *is* accessible to the kernel and can be read via get_user, allowing tasks to read PROT_NONE pages via syscalls such as read/write over a pipe. This patch introduces a new software pte flag, L_PTE_NONE, that is set to identify faulting, present entries. Signed-off-by: Will Deacon --- Reading git-diff-tree failed