Skip to content

kernel memory protection for m68k, 030 users too!

Daniel Palmer linux-m68k lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 0 repliesNew

Changes in v2 from the cover letter

- Add a patch to split the early termination that the tail of the ro data is on 020/030 so that we can get at the juicy pages on the inside.
- Since __ex_table is RO after init we can just mark from the start of the kernel to the end of the ro data in one pass so do that.
- While setting the WP bit if we find that we'd be marking too much memory, warn and abort.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2m68k: mm: motorola: Split the early term containing the end of the RO regionarch/m68k/mm/motorola.c+37 -100 replies
2/2m68k: Implement kernel memory protectionarch/m68k/Kconfig arch/m68k/mm/init.c+74 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] kernel memory protection for m68k, 030 users too!

This implements kernel memory protection for m68k.

Changes since v1:

- Add a patch to split the early termination that the tail of the ro data is on 020/030 so that we can get at the juicy pages on the inside.
- Since __ex_table is RO after init we can just mark from the start of the kernel to the end of the ro data in one pass so do that.
- While setting the WP bit if we find that we'd be marking too much memory, warn and abort.

Daniel Palmer (2):
m68k: mm: motorola: Split the early term containing the end of the RO
region
m68k: Implement kernel memory protection

 arch/m68k/Kconfig       |  1 +
 arch/m68k/mm/init.c     | 73 +++++++++++++++++++++++++++++++++++++++++
 arch/m68k/mm/motorola.c | 47 ++++++++++++++++++++------
 3 files changed, 111 insertions(+), 10 deletions(-)
Signature · 1 line
2.51.0