mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
46af22de16
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>
103 lines
3.1 KiB
Plaintext
103 lines
3.1 KiB
Plaintext
CONFIG_64BIT=y
|
|
CONFIG_ARCH_DMA_ADDR_T_64BIT=y
|
|
CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
|
|
CONFIG_ARCH_HAS_FORTIFY_SOURCE=y
|
|
CONFIG_ARCH_HAS_HOLES_MEMORYMODEL=y
|
|
CONFIG_ARCH_HAS_KCOV=y
|
|
CONFIG_ARCH_MMAP_RND_BITS=18
|
|
CONFIG_ARCH_MMAP_RND_BITS_MAX=24
|
|
CONFIG_ARCH_MMAP_RND_BITS_MIN=18
|
|
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=11
|
|
# CONFIG_ARCH_OPTIONAL_KERNEL_RWX is not set
|
|
# CONFIG_ARCH_OPTIONAL_KERNEL_RWX_DEFAULT is not set
|
|
CONFIG_ARCH_PROC_KCORE_TEXT=y
|
|
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
|
|
CONFIG_ARCH_SPARSEMEM_DEFAULT=y
|
|
CONFIG_ARCH_SPARSEMEM_ENABLE=y
|
|
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
|
|
CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
|
|
CONFIG_ARCH_SUPPORTS_NUMA_BALANCING=y
|
|
CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION=y
|
|
CONFIG_ARCH_WANT_FRAME_POINTERS=y
|
|
CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
|
|
CONFIG_ARM64=y
|
|
# CONFIG_ARM64_16K_PAGES is not set
|
|
CONFIG_ARM64_4K_PAGES=y
|
|
# CONFIG_ARM64_64K_PAGES is not set
|
|
CONFIG_ARM64_CONT_SHIFT=4
|
|
# CONFIG_ARM64_CRYPTO is not set
|
|
# CONFIG_ARM64_HW_AFDBM is not set
|
|
# CONFIG_ARM64_LSE_ATOMICS is not set
|
|
CONFIG_ARM64_PAGE_SHIFT=12
|
|
# CONFIG_ARM64_PAN is not set
|
|
# CONFIG_ARM64_PMEM is not set
|
|
# CONFIG_ARM64_PTDUMP_CORE is not set
|
|
# CONFIG_ARM64_PTDUMP_DEBUGFS is not set
|
|
# CONFIG_ARM64_RANDOMIZE_TEXT_OFFSET is not set
|
|
CONFIG_ARM64_SSBD=y
|
|
# CONFIG_ARM64_UAO is not set
|
|
CONFIG_ARM64_VA_BITS=39
|
|
CONFIG_ARM64_VA_BITS_39=y
|
|
# CONFIG_ARM64_VA_BITS_48 is not set
|
|
# CONFIG_ARM64_VHE is not set
|
|
CONFIG_ARM_AMBA=y
|
|
CONFIG_ARM_GIC_V3=y
|
|
# CONFIG_ARM_SP805_WATCHDOG is not set
|
|
CONFIG_AUDIT_ARCH_COMPAT_GENERIC=y
|
|
CONFIG_DWMAC_SUN8I=y
|
|
CONFIG_FRAME_POINTER=y
|
|
CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y
|
|
CONFIG_GENERIC_CSUM=y
|
|
CONFIG_GENERIC_IRQ_MIGRATION=y
|
|
CONFIG_HAVE_ALIGNED_STRUCT_PAGE=y
|
|
CONFIG_HAVE_ARCH_HUGE_VMAP=y
|
|
CONFIG_HAVE_ARCH_KASAN=y
|
|
CONFIG_HAVE_ARCH_VMAP_STACK=y
|
|
CONFIG_HAVE_CMPXCHG_DOUBLE=y
|
|
CONFIG_HAVE_CMPXCHG_LOCAL=y
|
|
CONFIG_HAVE_DEBUG_BUGVERBOSE=y
|
|
CONFIG_HAVE_MEMORY_PRESENT=y
|
|
CONFIG_HAVE_PATA_PLATFORM=y
|
|
CONFIG_HOLES_IN_ZONE=y
|
|
CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000
|
|
CONFIG_KERNEL_MODE_NEON=y
|
|
CONFIG_KVM_ARM_PMU=y
|
|
CONFIG_MDIO_BUS_MUX=y
|
|
CONFIG_MODULES_USE_ELF_RELA=y
|
|
CONFIG_NEED_SG_DMA_LENGTH=y
|
|
CONFIG_NO_IOPORT_MAP=y
|
|
# CONFIG_NUMA is not set
|
|
CONFIG_PARTITION_PERCPU=y
|
|
# CONFIG_PCI_DOMAINS is not set
|
|
# CONFIG_PINCTRL_SUN4I_A10 is not set
|
|
CONFIG_PINCTRL_SUN50I_A64=y
|
|
CONFIG_PINCTRL_SUN50I_A64_R=y
|
|
CONFIG_PINCTRL_SUN50I_H5=y
|
|
# CONFIG_PINCTRL_SUN5I is not set
|
|
# CONFIG_PINCTRL_SUN6I_A31 is not set
|
|
# CONFIG_PINCTRL_SUN6I_A31_R is not set
|
|
# CONFIG_PINCTRL_SUN8I_A23 is not set
|
|
# CONFIG_PINCTRL_SUN8I_A23_R is not set
|
|
# CONFIG_PINCTRL_SUN8I_A33 is not set
|
|
# CONFIG_PINCTRL_SUN8I_A83T is not set
|
|
# CONFIG_PINCTRL_SUN8I_A83T_R is not set
|
|
# CONFIG_PINCTRL_SUN8I_H3 is not set
|
|
# CONFIG_PINCTRL_SUN8I_V3S is not set
|
|
# CONFIG_PINCTRL_SUN9I_A80 is not set
|
|
# CONFIG_PINCTRL_SUN9I_A80_R is not set
|
|
# CONFIG_RANDOMIZE_BASE is not set
|
|
CONFIG_REALTEK_PHY=y
|
|
# CONFIG_SERIAL_AMBA_PL011 is not set
|
|
CONFIG_SOUND_OSS_CORE_PRECLAIM=y
|
|
CONFIG_SPARSEMEM=y
|
|
CONFIG_SPARSEMEM_EXTREME=y
|
|
CONFIG_SPARSEMEM_MANUAL=y
|
|
CONFIG_SPARSEMEM_VMEMMAP=y
|
|
CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y
|
|
CONFIG_SUN50I_A64_CCU=y
|
|
CONFIG_SUN50I_ERRATUM_UNKNOWN1=y
|
|
CONFIG_SYSCTL_EXCEPTION_TRACE=y
|
|
CONFIG_THREAD_INFO_IN_TASK=y
|
|
CONFIG_UNMAP_KERNEL_AT_EL0=y
|
|
CONFIG_VMAP_STACK=y
|