[PATCH v4 2/2] riscv: patch: skip fixmap mapping when kernel text is already writable

Nam Cao namcao at linutronix.de
Tue Aug 11 23:45:00 PDT 2026


Klara Modin <klara at kasm.eu> writes:
> I have MODULES disabled and thus also STRICT_MODULE_RWX disabled, but
> still STRICT_KERNEL_RWX enabled. I saw that an earlier version of this
> patch[1] instead gated the first branch behind STRICT_KERNEL_RWX. That
> version works fine for me.

Urgh, I got confused between STRICT_MODULE_RWX and STRICT_KERNEL_RWX, I
suggested the final version.

Xiaofeng, can you send a patch?

Nam



More information about the linux-riscv mailing list