Re: [PATCHv4 4/4] arm64: dump: Add checking for writable and exectuable pages

2016-10-28 Thread Ard Biesheuvel
On 27 October 2016 at 17:27, Laura Abbott wrote: > > 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

Re: [PATCHv4 4/4] arm64: dump: Add checking for writable and exectuable pages

2016-10-28 Thread Ard Biesheuvel
On 27 October 2016 at 17:27, Laura Abbott wrote: > > 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:

[PATCHv4 4/4] arm64: dump: Add checking for writable and exectuable pages

2016-10-27 Thread Laura Abbott
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 Reviewed-by: Mark Rutland

[PATCHv4 4/4] arm64: dump: Add checking for writable and exectuable pages

2016-10-27 Thread Laura Abbott
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 Reviewed-by: Mark Rutland Tested-by: Mark Rutland