Re: [PATCH v4 0/4] Implement STRICT_MODULE_RWX for powerpc
From: Kees Cook <hidden>
Date: 2019-10-29 23:04:38
On Mon, Oct 14, 2019 at 04:13:16PM +1100, Russell Currey wrote:
v3 cover letter here: https://lists.ozlabs.org/pipermail/linuxppc-dev/2019-October/198023.html Only minimal changes since then: - patch 2/4 commit message update thanks to Andrew Donnellan - patch 3/4 made neater thanks to Christophe Leroy - patch 3/4 updated Kconfig description thanks to Daniel Axtens
I continue to be excited about this work. :) Is there anything holding it back from landing in linux-next? -Kees
Russell Currey (4): 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: Enable STRICT_MODULE_RWX arch/powerpc/Kconfig | 2 + arch/powerpc/Kconfig.debug | 6 ++- arch/powerpc/configs/skiroot_defconfig | 1 + arch/powerpc/include/asm/set_memory.h | 32 ++++++++++++++ arch/powerpc/kernel/kprobes.c | 3 ++ arch/powerpc/mm/Makefile | 1 + arch/powerpc/mm/pageattr.c | 60 ++++++++++++++++++++++++++ arch/powerpc/mm/ptdump/ptdump.c | 21 ++++++++- 8 files changed, 123 insertions(+), 3 deletions(-) create mode 100644 arch/powerpc/include/asm/set_memory.h create mode 100644 arch/powerpc/mm/pageattr.c -- 2.23.0
-- Kees Cook