From: Russell Currey <ruscur@russell.cc> To: linuxppc-dev@lists.ozlabs.org Cc: ajd@linux.ibm.com, kernel-hardening@lists.openwall.com, npiggin@gmail.com, joel@jms.id.au, Russell Currey <ruscur@russell.cc>, dja@axtens.net Subject: [PATCH v6 0/7] set_memory() routines and STRICT_MODULE_RWX Date: Tue, 10 Mar 2020 12:03:31 +1100 [thread overview] Message-ID: <20200310010338.21205-1-ruscur@russell.cc> (raw) 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
WARNING: multiple messages have this Message-ID (diff)
From: Russell Currey <ruscur@russell.cc> To: linuxppc-dev@lists.ozlabs.org Cc: Russell Currey <ruscur@russell.cc>, christophe.leroy@c-s.fr, joel@jms.id.au, mpe@ellerman.id.au, ajd@linux.ibm.com, dja@axtens.net, npiggin@gmail.com, kernel-hardening@lists.openwall.com Subject: [PATCH v6 0/7] set_memory() routines and STRICT_MODULE_RWX Date: Tue, 10 Mar 2020 12:03:31 +1100 [thread overview] Message-ID: <20200310010338.21205-1-ruscur@russell.cc> (raw) 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
next reply other threads:[~2020-03-10 1:06 UTC|newest] Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-03-10 1:03 Russell Currey [this message] 2020-03-10 1:03 ` [PATCH v6 0/7] set_memory() routines and STRICT_MODULE_RWX Russell Currey 2020-03-10 1:03 ` [PATCH v6 1/7] powerpc/mm: Implement set_memory() routines Russell Currey 2020-03-10 1:03 ` Russell Currey 2020-03-11 6:03 ` Daniel Axtens 2020-03-11 6:03 ` Daniel Axtens 2020-03-31 1:49 ` Russell Currey 2020-03-31 1:49 ` Russell Currey 2020-03-10 1:03 ` [PATCH v6 2/7] powerpc/kprobes: Mark newly allocated probes as RO Russell Currey 2020-03-10 1:03 ` Russell Currey 2020-03-10 1:03 ` [PATCH v6 3/7] powerpc/mm/ptdump: debugfs handler for W+X checks at runtime Russell Currey 2020-03-10 1:03 ` Russell Currey 2020-03-10 1:03 ` [PATCH v6 4/7] powerpc: Set ARCH_HAS_STRICT_MODULE_RWX Russell Currey 2020-03-10 1:03 ` Russell Currey 2020-03-10 1:03 ` [PATCH v6 5/7] powerpc/configs: Enable STRICT_MODULE_RWX in skiroot_defconfig Russell Currey 2020-03-10 1:03 ` Russell Currey 2020-03-10 1:03 ` [PATCH v6 6/7] powerpc/mm: implement set_memory_attr() Russell Currey 2020-03-10 1:03 ` Russell Currey 2020-03-11 6:09 ` Daniel Axtens 2020-03-11 6:09 ` Daniel Axtens 2020-03-10 1:03 ` [PATCH v6 7/7] powerpc/32: use set_memory_attr() Russell Currey 2020-03-10 1:03 ` Russell Currey
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200310010338.21205-1-ruscur@russell.cc \ --to=ruscur@russell.cc \ --cc=ajd@linux.ibm.com \ --cc=dja@axtens.net \ --cc=joel@jms.id.au \ --cc=kernel-hardening@lists.openwall.com \ --cc=linuxppc-dev@lists.ozlabs.org \ --cc=npiggin@gmail.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.