diff --git a/arch/riscv/configs/32-bit.config b/arch/riscv/configs/32-bit.config index 597dfa4756b3cc..4ee964c38a29a4 100644 --- a/arch/riscv/configs/32-bit.config +++ b/arch/riscv/configs/32-bit.config @@ -4,3 +4,5 @@ CONFIG_32BIT=y # CONFIG_PORTABLE is not set CONFIG_NONPORTABLE=y CONFIG_CGROUPS=n +CONFIG_STRICT_KERNEL_RWX=n +CONFIG_STRICT_MODULE_RWX=n diff --git a/arch/riscv/configs/64ilp32.config b/arch/riscv/configs/64ilp32.config index 98d729242afb05..1cb518b80d1229 100644 --- a/arch/riscv/configs/64ilp32.config +++ b/arch/riscv/configs/64ilp32.config @@ -4,3 +4,5 @@ CONFIG_32BIT=y # CONFIG_PORTABLE is not set CONFIG_NONPORTABLE=y CONFIG_CGROUPS=n +CONFIG_STRICT_KERNEL_RWX=n +CONFIG_STRICT_MODULE_RWX=n