aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorLaura Abbott <[email protected]>2016-10-27 09:27:34 -0700
committerCatalin Marinas <[email protected]>2016-11-07 18:15:04 +0000
commit1404d6f13e47c42f155e3c6a611b1bf4dd35dde9 (patch)
treef6bf9d56920d2c3d7346cd925781b071075c810b /net/unix/af_unix.c
parentcfd69e9551a1b1d20a7ba030a0990aa370817f54 (diff)
arm64: dump: Add checking for writable and exectuable pages
Page mappings with full RWX permissions are a security risk. x86 has an option to walk the page tables and dump any bad pages. (See e1a58320a38d ("x86/mm: Warn on W^X mappings")). Add a similar implementation for arm64. Reviewed-by: Kees Cook <[email protected]> Reviewed-by: Mark Rutland <[email protected]> Tested-by: Mark Rutland <[email protected]> Signed-off-by: Laura Abbott <[email protected]> Reviewed-by: Ard Biesheuvel <[email protected]> [[email protected]: folded fix for KASan out of bounds from Mark Rutland] Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions