* [PATCH 0/2] Enable STRICT_MODULE_RWX
@ 2026-06-06 13:14 haoran.jiang
0 siblings, 0 replies; 3+ messages in thread
From: haoran.jiang @ 2026-06-06 13:14 UTC (permalink / raw)
To: loongarch
Cc: linux-kernel, chenhuacai, kernel, akpm, jbohac, kees, yangtiezhu,
Haoran Jiang
From: Haoran Jiang <jianghaoran@kylinos.cn>
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(-)
--
2.25.1
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH 0/2] Enable STRICT_MODULE_RWX
@ 2026-06-06 13:21 haoran.jiang
2026-06-06 14:04 ` Huacai Chen
0 siblings, 1 reply; 3+ messages in thread
From: haoran.jiang @ 2026-06-06 13:21 UTC (permalink / raw)
To: loongarch
Cc: linux-kernel, chenhuacai, kernel, akpm, jbohac, kees, yangtiezhu,
Haoran Jiang
From: Haoran Jiang <jianghaoran@kylinos.cn>
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(-)
--
2.25.1
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH 0/2] Enable STRICT_MODULE_RWX
2026-06-06 13:21 haoran.jiang
@ 2026-06-06 14:04 ` Huacai Chen
0 siblings, 0 replies; 3+ messages in thread
From: Huacai Chen @ 2026-06-06 14:04 UTC (permalink / raw)
To: haoran.jiang
Cc: loongarch, linux-kernel, kernel, akpm, jbohac, kees, yangtiezhu,
Haoran Jiang
Hi, Haoran,
On Sat, Jun 6, 2026 at 9:21 PM <haoran.jiang@linux.dev> wrote:
>
> From: Haoran Jiang <jianghaoran@kylinos.cn>
>
> Enable STRICT_MODULE_RWX on LoongArch and
> Move fixmap page tables to BSS segment.
As discussed before, we don't need to change fixmap, we can just use
set_memory() API, similar as done in larch_insn_text_copy().
Huacai
>
> 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(-)
>
> --
> 2.25.1
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-06-06 14:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-06 13:14 [PATCH 0/2] Enable STRICT_MODULE_RWX haoran.jiang
2026-06-06 13:21 haoran.jiang
2026-06-06 14:04 ` Huacai Chen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome