From: Hauke Mehrtens Date: Sun, 7 Apr 2019 14:53:11 +0000 (+0200) Subject: gemini: Make kernel text and rodata read-only X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=87ac3e801d4ee531921dc188cf68aecf9da9108c;p=openwrt%2Fstaging%2Fjow.git gemini: Make kernel text and rodata read-only This is activate for all other targets except gemini, also activate it there. Signed-off-by: Hauke Mehrtens --- diff --git a/target/linux/gemini/config-4.14 b/target/linux/gemini/config-4.14 index 8dddf02018..c049200fe0 100644 --- a/target/linux/gemini/config-4.14 +++ b/target/linux/gemini/config-4.14 @@ -391,8 +391,6 @@ CONFIG_SPI_MASTER=y CONFIG_SPLIT_PTLOCK_CPUS=999999 CONFIG_SRCU=y # CONFIG_STAGING is not set -# CONFIG_STRICT_KERNEL_RWX is not set -# CONFIG_STRICT_MODULE_RWX is not set # CONFIG_STRIP_ASM_SYMS is not set CONFIG_SWIOTLB=y CONFIG_SWPHY=y diff --git a/target/linux/gemini/config-4.19 b/target/linux/gemini/config-4.19 index 745bad67da..7eee5fe9c0 100644 --- a/target/linux/gemini/config-4.19 +++ b/target/linux/gemini/config-4.19 @@ -446,8 +446,6 @@ CONFIG_SPI_MASTER=y CONFIG_SPLIT_PTLOCK_CPUS=999999 CONFIG_SRCU=y # CONFIG_STAGING is not set -# CONFIG_STRICT_KERNEL_RWX is not set -# CONFIG_STRICT_MODULE_RWX is not set # CONFIG_STRIP_ASM_SYMS is not set CONFIG_SWPHY=y CONFIG_SYNC_FILE=y