riscv: Set ARCH_HAS_STRICT_MODULE_RWX if MMU

Now we can set ARCH_HAS_STRICT_MODULE_RWX for MMU riscv platforms, this
is good from security perspective.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
This commit is contained in:
Jisheng Zhang 2021-03-30 02:26:17 +08:00 • committed by Palmer Dabbelt
commit a9451b8e19
No known key found for this signature in database
GPG key ID: 2E1319F35FBB1889