Skip to contentSkip to conversation

Enable STRICT_MODULE_RWX

PATCH New [email protected] 1 participant 1 message Jun 6 LoongArch

lore
Share & tools
lore
#0 lore raw

cover Enable STRICT_MODULE_RWX

From: Haoran Jiang <[email protected]>

Enable STRICT_MODULE_RWX on LoongArch and
Move fixmap page tables to BSS segment.

Haoran Jiang (2):
LoongArch: Move fixmap page tables to BSS segment
LoongArch: Enable STRICT_MODULE_RWX for stricter modules memory
permissions

 arch/loongarch/Kconfig              |  2 +
 arch/loongarch/include/asm/fixmap.h |  2 +
 arch/loongarch/kernel/inst.c        | 29 +++++++++++-
 arch/loongarch/kernel/setup.c       |  1 +
 arch/loongarch/mm/init.c            | 71 ++++++++++++++++++++++++++---
 5 files changed, 98 insertions(+), 7 deletions(-)
Signature · 1 line
2.25.1