gemini: Make kernel text and rodata read-only
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 7 Apr 2019 14:53:11 +0000 (16:53 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 11 May 2019 15:15:41 +0000 (17:15 +0200)
This is activate for all other targets except gemini, also activate it
there.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/gemini/config-4.14
target/linux/gemini/config-4.19

index 8dddf020184d75f925fefea0446f0eaff2f3aa7b..c049200fe0310a60cfe5eb425ad9f2fd2d9c726e 100644 (file)
@@ -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
index 745bad67da18ac452050ea9b3de54207c41a4a31..7eee5fe9c025d18973345044db6bdfcce1818d95 100644 (file)
@@ -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