mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
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>
This commit is contained in:
parent
0fc3a4aa10
commit
7815c55f7d
@ -87,11 +87,7 @@ CONFIG_COMMON_CLK_MT7622_HIFSYS=y
|
|||||||
# CONFIG_COMMON_CLK_MT8183_VENCSYS is not set
|
# CONFIG_COMMON_CLK_MT8183_VENCSYS is not set
|
||||||
# CONFIG_COMMON_CLK_MT8516 is not set
|
# CONFIG_COMMON_CLK_MT8516 is not set
|
||||||
# CONFIG_COMMON_CLK_MT8516_AUDSYS is not set
|
# CONFIG_COMMON_CLK_MT8516_AUDSYS is not set
|
||||||
CONFIG_COMPAT=y
|
|
||||||
CONFIG_COMPAT_32BIT_TIME=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_CONFIGFS_FS=y
|
||||||
CONFIG_CONSOLE_LOGLEVEL_DEFAULT=15
|
CONFIG_CONSOLE_LOGLEVEL_DEFAULT=15
|
||||||
# CONFIG_CPUFREQ_DT is not set
|
# CONFIG_CPUFREQ_DT is not set
|
||||||
|
@ -117,11 +117,7 @@ CONFIG_COMMON_CLK=y
|
|||||||
CONFIG_COMMON_CLK_RK808=y
|
CONFIG_COMMON_CLK_RK808=y
|
||||||
CONFIG_COMMON_CLK_ROCKCHIP=y
|
CONFIG_COMMON_CLK_ROCKCHIP=y
|
||||||
CONFIG_COMMON_CLK_SCPI=y
|
CONFIG_COMMON_CLK_SCPI=y
|
||||||
CONFIG_COMPAT=y
|
|
||||||
CONFIG_COMPAT_32BIT_TIME=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_CONFIGFS_FS=y
|
||||||
CONFIG_CONSOLE_TRANSLATIONS=y
|
CONFIG_CONSOLE_TRANSLATIONS=y
|
||||||
CONFIG_CONTIG_ALLOC=y
|
CONFIG_CONTIG_ALLOC=y
|
||||||
|
@ -115,10 +115,7 @@ CONFIG_COMMON_CLK=y
|
|||||||
CONFIG_COMMON_CLK_RK808=y
|
CONFIG_COMMON_CLK_RK808=y
|
||||||
CONFIG_COMMON_CLK_ROCKCHIP=y
|
CONFIG_COMMON_CLK_ROCKCHIP=y
|
||||||
CONFIG_COMMON_CLK_SCPI=y
|
CONFIG_COMMON_CLK_SCPI=y
|
||||||
CONFIG_COMPAT=y
|
|
||||||
CONFIG_COMPAT_32BIT_TIME=y
|
CONFIG_COMPAT_32BIT_TIME=y
|
||||||
CONFIG_COMPAT_BINFMT_ELF=y
|
|
||||||
CONFIG_COMPAT_OLD_SIGACTION=y
|
|
||||||
CONFIG_CONFIGFS_FS=y
|
CONFIG_CONFIGFS_FS=y
|
||||||
CONFIG_CONSOLE_TRANSLATIONS=y
|
CONFIG_CONSOLE_TRANSLATIONS=y
|
||||||
CONFIG_CONTIG_ALLOC=y
|
CONFIG_CONTIG_ALLOC=y
|
||||||
|
Loading…
Reference in New Issue
Block a user