All of lore.kernel.org
 help / color / mirror / Atom feed
* [kernel-hardening] [PATCHv2 0/4] WX checking for arm64
@ 2016-10-12 22:31 ` Laura Abbott
  0 siblings, 0 replies; 39+ messages in thread
From: Laura Abbott @ 2016-10-12 22:31 UTC (permalink / raw)
  To: AKASHI Takahiro, Mark Rutland, Ard Biesheuvel, David Brown,
	Will Deacon, Catalin Marinas
  Cc: Laura Abbott, linux-arm-kernel, linux-kernel, Kees Cook,
	kernel-hardening

Hi,

This is v2 of the implementation to check for writable and executable pages on
arm64.

Major changes since v1:
- I realized my concerns about initialization and registration were unfounded
  so registration to register page tables with debugfs is simplified.
- New patch to remove max_addr since it was pointed out it was unused.
- Rebased to include changes for the EFI page tables as well.
- Checking is now only done on the init_mm page tables. It was mentioned that
  we should check the hyp page tables as well but that can be follow on work.
- Checking for UXN per suggestion from Mark Rutland.

Laura Abbott (4):
  arm64: dump: Make ptdump debugfs a separate option
  arm64: dump: Make the page table dumping seq_file optional
  arm64: dump: Remove max_addr
  arm64: dump: Add checking for writable and exectuable pages

 arch/arm64/Kconfig.debug           | 34 ++++++++++++++-
 arch/arm64/include/asm/ptdump.h    | 22 +++++++---
 arch/arm64/mm/Makefile             |  3 +-
 arch/arm64/mm/dump.c               | 89 ++++++++++++++++++++++++++------------
 arch/arm64/mm/mmu.c                |  2 +
 arch/arm64/mm/ptdump_debugfs.c     | 31 +++++++++++++
 drivers/firmware/efi/arm-runtime.c |  5 +--
 7 files changed, 147 insertions(+), 39 deletions(-)
 create mode 100644 arch/arm64/mm/ptdump_debugfs.c

-- 
2.7.4

^ permalink raw reply	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2016-10-17 22:16 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-12 22:31 [kernel-hardening] [PATCHv2 0/4] WX checking for arm64 Laura Abbott
2016-10-12 22:31 ` Laura Abbott
2016-10-12 22:31 ` Laura Abbott
2016-10-12 22:31 ` [kernel-hardening] [PATCHv2 1/4] arm64: dump: Make ptdump debugfs a separate option Laura Abbott
2016-10-12 22:31   ` Laura Abbott
2016-10-12 22:31   ` Laura Abbott
2016-10-12 22:45   ` [kernel-hardening] " Kees Cook
2016-10-12 22:45     ` Kees Cook
2016-10-12 22:45     ` Kees Cook
2016-10-12 22:57     ` [kernel-hardening] " Laura Abbott
2016-10-12 22:57       ` Laura Abbott
2016-10-12 22:57       ` Laura Abbott
2016-10-12 23:13       ` [kernel-hardening] " Kees Cook
2016-10-12 23:13         ` Kees Cook
2016-10-12 23:13         ` Kees Cook
2016-10-17 10:52   ` [kernel-hardening] " Mark Rutland
2016-10-17 10:52     ` Mark Rutland
2016-10-17 10:52     ` Mark Rutland
2016-10-17 22:16     ` [kernel-hardening] " Laura Abbott
2016-10-17 22:16       ` Laura Abbott
2016-10-17 22:16       ` Laura Abbott
2016-10-12 22:32 ` [kernel-hardening] [PATCHv2 2/4] arm64: dump: Make the page table dumping seq_file optional Laura Abbott
2016-10-12 22:32   ` Laura Abbott
2016-10-12 22:32   ` Laura Abbott
2016-10-17 11:02   ` [kernel-hardening] " Mark Rutland
2016-10-17 11:02     ` Mark Rutland
2016-10-17 11:02     ` Mark Rutland
2016-10-12 22:32 ` [kernel-hardening] [PATCHv2 3/4] arm64: dump: Remove max_addr Laura Abbott
2016-10-12 22:32   ` Laura Abbott
2016-10-12 22:32   ` Laura Abbott
2016-10-17 11:05   ` [kernel-hardening] " Mark Rutland
2016-10-17 11:05     ` Mark Rutland
2016-10-17 11:05     ` Mark Rutland
2016-10-12 22:32 ` [kernel-hardening] [PATCHv2 4/4] arm64: dump: Add checking for writable and exectuable pages Laura Abbott
2016-10-12 22:32   ` Laura Abbott
2016-10-12 22:32   ` Laura Abbott
2016-10-17 12:47   ` [kernel-hardening] " Mark Rutland
2016-10-17 12:47     ` Mark Rutland
2016-10-17 12:47     ` Mark Rutland

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.