summaryrefslogtreecommitdiffstats
path: root/target/linux/rockchip
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2023-04-22 19:48:54 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2023-04-29 21:56:53 +0200
commit7815c55f7d0ee4bef94ddc54c4845c399f964719 (patch)
tree0be97b780abff75cf9d8bb2044dc27babfa5cd6a /target/linux/rockchip
parent0fc3a4aa105e56b4a9cb7398dd1b88e75d5d283b (diff)
downloadopenwrt-7815c55f7d0ee4bef94ddc54c4845c399f964719.tar.gz
openwrt-7815c55f7d0ee4bef94ddc54c4845c399f964719.tar.bz2
openwrt-7815c55f7d0ee4bef94ddc54c4845c399f964719.zip
kernel: Deactivate CONFIG_COMPAT
This deactivates the CONFIG_COMPAT kernel option. With CONFIG_COMPAT the kernel will provide syscall interfaces for arm32 binaries in addition to the interfaces needed for arm64 binaries. In OpenWrt the complete userspace is compiled for this specific architecture and support for 32 bit ARM applications is not needed. This reduces the size and the attack surface for the systems. On all other targets CONFIG_COMPAT is already deactivated. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/rockchip')
-rw-r--r--target/linux/rockchip/armv8/config-5.104
-rw-r--r--target/linux/rockchip/armv8/config-5.153
2 files changed, 0 insertions, 7 deletions
diff --git a/target/linux/rockchip/armv8/config-5.10 b/target/linux/rockchip/armv8/config-5.10
index 5f4ded36e0..2d250219a8 100644
--- a/target/linux/rockchip/armv8/config-5.10
+++ b/target/linux/rockchip/armv8/config-5.10
@@ -117,11 +117,7 @@ CONFIG_COMMON_CLK=y
CONFIG_COMMON_CLK_RK808=y
CONFIG_COMMON_CLK_ROCKCHIP=y
CONFIG_COMMON_CLK_SCPI=y
-CONFIG_COMPAT=y
CONFIG_COMPAT_32BIT_TIME=y
-CONFIG_COMPAT_BINFMT_ELF=y
-CONFIG_COMPAT_NETLINK_MESSAGES=y
-CONFIG_COMPAT_OLD_SIGACTION=y
CONFIG_CONFIGFS_FS=y
CONFIG_CONSOLE_TRANSLATIONS=y
CONFIG_CONTIG_ALLOC=y
diff --git a/target/linux/rockchip/armv8/config-5.15 b/target/linux/rockchip/armv8/config-5.15
index bb60489714..bb7f44a2c4 100644
--- a/target/linux/rockchip/armv8/config-5.15
+++ b/target/linux/rockchip/armv8/config-5.15
@@ -115,10 +115,7 @@ CONFIG_COMMON_CLK=y
CONFIG_COMMON_CLK_RK808=y
CONFIG_COMMON_CLK_ROCKCHIP=y
CONFIG_COMMON_CLK_SCPI=y
-CONFIG_COMPAT=y
CONFIG_COMPAT_32BIT_TIME=y
-CONFIG_COMPAT_BINFMT_ELF=y
-CONFIG_COMPAT_OLD_SIGACTION=y
CONFIG_CONFIGFS_FS=y
CONFIG_CONSOLE_TRANSLATIONS=y
CONFIG_CONTIG_ALLOC=y