aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/malta/le64
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2019-04-07 17:14:24 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2019-05-11 17:15:41 +0200
commit46af22de16b2ced67116f1ad96bb00cf98146c3e (patch)
tree28e73b980cedb0708d310d370ae19fd1e0f99c72 /target/linux/malta/le64
parent7099bf09265643f739fa6ffdf758397fd914b769 (diff)
downloadupstream-46af22de16b2ced67116f1ad96bb00cf98146c3e.tar.gz
upstream-46af22de16b2ced67116f1ad96bb00cf98146c3e.tar.bz2
upstream-46af22de16b2ced67116f1ad96bb00cf98146c3e.zip
kernel: Remove CONFIG_COMPAT
This removes support for executing old 32 bit applications on 64 bit ARM and MIPS kernels. On OpenWrt we normally compile all the user space applications on our own and do not support third party binary only modules especial not 32 bit applications on 64 bit CPUs. This reduces the attack surface on such systems and should also save some memory. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/malta/le64')
-rw-r--r--target/linux/malta/le64/config-default6
1 files changed, 0 insertions, 6 deletions
diff --git a/target/linux/malta/le64/config-default b/target/linux/malta/le64/config-default
index 06755fe54e..87bb0fb6b7 100644
--- a/target/linux/malta/le64/config-default
+++ b/target/linux/malta/le64/config-default
@@ -4,14 +4,10 @@ CONFIG_ARCH_DMA_ADDR_T_64BIT=y
CONFIG_ARCH_MMAP_RND_BITS=12
CONFIG_ARCH_MMAP_RND_BITS_MAX=18
CONFIG_ARCH_MMAP_RND_BITS_MIN=12
-CONFIG_ARCH_MMAP_RND_COMPAT_BITS=8
CONFIG_ARCH_USE_CMPXCHG_LOCKREF=y
CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION=y
CONFIG_ARCH_WANT_OLD_COMPAT_IPC=y
CONFIG_BINFMT_ELF32=y
-CONFIG_BLOCK_COMPAT=y
-CONFIG_COMPAT=y
-CONFIG_COMPAT_NETLINK_MESSAGES=y
# CONFIG_CPU_BIG_ENDIAN is not set
CONFIG_CPU_LITTLE_ENDIAN=y
CONFIG_CPU_MIPS64=y
@@ -20,7 +16,6 @@ CONFIG_CPU_MIPSR1=y
CONFIG_CPU_SUPPORTS_64BIT_KERNEL=y
CONFIG_CPU_SUPPORTS_HUGEPAGES=y
CONFIG_HAVE_64BIT_ALIGNED_ACCESS=y
-CONFIG_HAVE_ARCH_MMAP_RND_COMPAT_BITS=y
CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
CONFIG_HAVE_EBPF_JIT=y
CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
@@ -33,6 +28,5 @@ CONFIG_MODULES_USE_ELF_RELA=y
CONFIG_PCI_BUS_ADDR_T_64BIT=y
CONFIG_PGTABLE_LEVELS=3
CONFIG_PHYS_ADDR_T_64BIT=y
-CONFIG_SYSVIPC_COMPAT=y
CONFIG_SYS_SUPPORTS_HUGETLBFS=y
CONFIG_ZONE_DMA32=y