[OpenWrt-Devel] [PATCH 10/10] gemini: Make kernel text and rodata read-only

Hauke Mehrtens hauke at hauke-m.de
Fri May 3 13:52:07 PDT 2019


This is activate for all other targets except gemini, also activate it
there.

Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/gemini/config-4.14 | 2 --
 target/linux/gemini/config-4.19 | 2 --
 2 files changed, 4 deletions(-)

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
-- 
2.20.1




More information about the openwrt-devel mailing list