[PATCH v6 0/7] set_memory() routines and STRICT_MODULE_RWX
Russell Currey
ruscur at russell.cc
Tue Mar 10 12:03:31 AEDT 2020
Back again, just minor changes.
v5: https://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=160869
Changes since v5:
[1/8]: Patch 8/8 squashed as suggested by Andrew Donnellan
Added a note to the comment of change_page_attr()
Rename size to sz to meet 90 chars without multiple lines
[8/8]: Removed, change_memory_attr() section squashed, rest dropped
as suggested by Christophe Leroy (since I just assumed it was
the right thing to do instead of actually checking)
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 | 112 +++++++++++++++++++++++++
arch/powerpc/mm/pgtable_32.c | 95 +++------------------
arch/powerpc/mm/ptdump/ptdump.c | 21 ++++-
9 files changed, 197 insertions(+), 93 deletions(-)
create mode 100644 arch/powerpc/include/asm/set_memory.h
create mode 100644 arch/powerpc/mm/pageattr.c
--
2.25.1
More information about the Linuxppc-dev
mailing list