kernel-hardening.lists.openwall.com archive mirror
 help / color / mirror / Atom feed
* [PATCH v7 0/7] set_memory() routines and STRICT_MODULE_RWX
@ 2020-03-31  4:48 Russell Currey
  2020-03-31  4:48 ` [PATCH v7 1/7] powerpc/mm: Implement set_memory() routines Russell Currey
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Russell Currey @ 2020-03-31  4:48 UTC (permalink / raw)
  To: linuxppc-dev
  Cc: Russell Currey, christophe.leroy, mpe, ajd, dja, npiggin,
	kernel-hardening

Addressing review comments from Daniel Axtens.

v6: https://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=163335
v5: https://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=160869

Changes since v6:
	[1/7] and [6/7]: Check for negative values of numpages and use
	      	  	 apply_to_existing_page_range() thanks to dja

Thanks for the feedback.

Christophe Leroy (2):
  powerpc/mm: implement set_memory_attr()
  powerpc/32: use set_memory_attr()

Russell Currey (5):
  powerpc/mm: Implement set_memory() routines
  powerpc/kprobes: Mark newly allocated probes as RO
  powerpc/mm/ptdump: debugfs handler for W+X checks at runtime
  powerpc: Set ARCH_HAS_STRICT_MODULE_RWX
  powerpc/configs: Enable STRICT_MODULE_RWX in skiroot_defconfig

 arch/powerpc/Kconfig                   |   2 +
 arch/powerpc/Kconfig.debug             |   6 +-
 arch/powerpc/configs/skiroot_defconfig |   1 +
 arch/powerpc/include/asm/set_memory.h  |  34 ++++++++
 arch/powerpc/kernel/kprobes.c          |  17 +++-
 arch/powerpc/mm/Makefile               |   2 +-
 arch/powerpc/mm/pageattr.c             | 114 +++++++++++++++++++++++++
 arch/powerpc/mm/pgtable_32.c           |  95 +++------------------
 arch/powerpc/mm/ptdump/ptdump.c        |  21 ++++-
 9 files changed, 199 insertions(+), 93 deletions(-)
 create mode 100644 arch/powerpc/include/asm/set_memory.h
 create mode 100644 arch/powerpc/mm/pageattr.c

-- 
2.26.0


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

end of thread, other threads:[~2020-04-01  5:51 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-31  4:48 [PATCH v7 0/7] set_memory() routines and STRICT_MODULE_RWX Russell Currey
2020-03-31  4:48 ` [PATCH v7 1/7] powerpc/mm: Implement set_memory() routines Russell Currey
2020-03-31  4:48 ` [PATCH v7 2/7] powerpc/kprobes: Mark newly allocated probes as RO Russell Currey
2020-03-31  4:48 ` [PATCH v7 3/7] powerpc/mm/ptdump: debugfs handler for W+X checks at runtime Russell Currey
2020-03-31  4:48 ` [PATCH v7 4/7] powerpc: Set ARCH_HAS_STRICT_MODULE_RWX Russell Currey
2020-03-31  4:48 ` [PATCH v7 5/7] powerpc/configs: Enable STRICT_MODULE_RWX in skiroot_defconfig Russell Currey
2020-03-31  4:48 ` [PATCH v7 6/7] powerpc/mm: implement set_memory_attr() Russell Currey
2020-03-31  4:48 ` [PATCH v7 7/7] powerpc/32: use set_memory_attr() Russell Currey
2020-03-31  9:56   ` Christophe Leroy
2020-04-01  2:27     ` Russell Currey
2020-04-01  5:50       ` Christophe Leroy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).