kernel: Deactivate CONFIG_COMPAT
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 22 Apr 2023 17:48:54 +0000 (19:48 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 29 Apr 2023 19:56:53 +0000 (21:56 +0200)
commit7815c55f7d0ee4bef94ddc54c4845c399f964719
tree0be97b780abff75cf9d8bb2044dc27babfa5cd6a
parent0fc3a4aa105e56b4a9cb7398dd1b88e75d5d283b
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>
target/linux/mediatek/mt7622/config-5.15
target/linux/rockchip/armv8/config-5.10
target/linux/rockchip/armv8/config-5.15