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

Daniel Palmer posted 2 patches 1 week, 4 days ago
arch/m68k/Kconfig       |  1 +
arch/m68k/mm/init.c     | 73 +++++++++++++++++++++++++++++++++++++++++
arch/m68k/mm/motorola.c | 47 ++++++++++++++++++++------
3 files changed, 111 insertions(+), 10 deletions(-)
[PATCH v2 0/2] kernel memory protection for m68k, 030 users too!
Posted by Daniel Palmer 1 week, 4 days ago
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(-)

-- 
2.51.0