powerpc: Further Strict RWX support
Status from this message: Applied to powerpc/next.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v15 Latest9 patches 4 repliesApplied
- v149 patches 9 repliesSuperseded
- v138 patches 4 repliesSuperseded
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v12 | 8 patches | 6 replies | Superseded | |
| v11 | 9 patches | 11 replies | Superseded | |
| v10 | 10 patches | 23 replies | Superseded | |
| v9 | 8 patches | 16 replies | Superseded |
Patches in v15 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | powerpc/mm: Implement set_memory() routinesarch/ arch/ arch/ +1 more | +135 | 0 replies | |
| 2/9 | powerpc/lib/code-patching: Set up Strict RWX patching earlierarch/ | +4 | 0 replies | |
| 3/9 | powerpc/modules: Make module_alloc() Strict Module RWX awarearch/ arch/ | +8 | 0 replies | |
| 4/9 | powerpc/kprobes: Mark newly allocated probes as ROXarch/ | +17 | 0 replies | |
| 5/9 | powerpc/bpf: Remove bpf_jit_free()arch/ | +0 | 0 replies | |
| 6/9 | powerpc/bpf: Write protect JIT codearch/ | +1 | 0 replies | |
| 7/9 | powerpc: Set ARCH_HAS_STRICT_MODULE_RWXarch/ | +2 | 3 replies | |
| 8/9 | powerpc/mm: implement set_memory_attr()arch/ arch/ | +35 | 0 replies | |
| 9/9 | powerpc/32: use set_memory_attr()arch/ | +10 | 0 replies |
Reviews trailers per patch
6 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Daniel Axtens | Christophe Leroy | Russell Currey |
|---|---|---|---|
| 1/9 | R-b | ||
| 2/9 | R-b | R-b | |
| 3/9 | |||
| 4/9 | R-b | ||
| 5/9 | R-b | ||
| 6/9 | R-b | ||
| 7/9 | R-b | ||
| 8/9 | |||
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v15 0/9] powerpc: Further Strict RWX support
Adding more Strict RWX support on powerpc, in particular Strict Module RWX. It is now rebased on ppc next.
For reference the previous revision is available here:
https://lore.kernel.org/linuxppc-dev/[email protected]/
Changes for v15:
Christophe Leroy (2):
powerpc/mm: implement set_memory_attr()
powerpc/32: use set_memory_attr()
Jordan Niethe (4):
powerpc/lib/code-patching: Set up Strict RWX patching earlier powerpc/modules: Make module_alloc() Strict Module RWX aware powerpc/bpf: Remove bpf_jit_free()
powerpc/bpf: Write protect JIT code
Russell Currey (3):
powerpc/mm: Implement set_memory() routines powerpc/kprobes: Mark newly allocated probes as ROX
powerpc: Set ARCH_HAS_STRICT_MODULE_RWX
- Force STRICT_KERNEL_RWX if STRICT_MODULE_RWX is selected
- Predicate on !PPC_BOOK3S_32 instead
arch/powerpc/Kconfig | 3 + arch/powerpc/include/asm/mmu.h | 5 + arch/powerpc/include/asm/set_memory.h | 34 +++++++ arch/powerpc/kernel/kprobes.c | 17 ++++ arch/powerpc/kernel/module.c | 4 +- arch/powerpc/lib/code-patching.c | 12 +-- arch/powerpc/mm/Makefile | 2 +- arch/powerpc/mm/pageattr.c | 134 ++++++++++++++++++++++++++ arch/powerpc/mm/pgtable_32.c | 60 ++---------- arch/powerpc/net/bpf_jit_comp.c | 13 +-- 10 files changed, 212 insertions(+), 72 deletions(-) create mode 100644 arch/powerpc/include/asm/set_memory.h create mode 100644 arch/powerpc/mm/pageattr.c
Signature · 1 line
2.25.1