From: Hauke Mehrtens Date: Tue, 18 Dec 2018 17:43:06 +0000 (+0100) Subject: kernel: Deactivate CONFIG_COMPAT_BRK X-Git-Tag: v19.07.0-rc1~1774 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=89f8a8be7fae4802e06de745d85179d8b3b697d6;p=oweals%2Fopenwrt.git kernel: Deactivate CONFIG_COMPAT_BRK CONFIG_COMPAT_BRK disables the heap randomization which is only needed for very old and ancient user space applications, I am not aware that we run any of these, just deactivate this option for these targets to allow heap randomization. Signed-off-by: Hauke Mehrtens --- diff --git a/target/linux/at91/config-4.9 b/target/linux/at91/config-4.9 index 45faf55155..308b346161 100644 --- a/target/linux/at91/config-4.9 +++ b/target/linux/at91/config-4.9 @@ -69,7 +69,6 @@ CONFIG_CMA_AREAS=7 CONFIG_CMDLINE="console=ttyS0,115200 initrd=0x21100000,25165824 root=/dev/ram0 rw" CONFIG_COMMON_CLK=y CONFIG_COMMON_CLK_AT91=y -CONFIG_COMPAT_BRK=y CONFIG_CONFIGFS_FS=y CONFIG_CONSOLE_TRANSLATIONS=y CONFIG_COREDUMP=y diff --git a/target/linux/gemini/config-4.14 b/target/linux/gemini/config-4.14 index dc8ed80e3a..326b05c089 100644 --- a/target/linux/gemini/config-4.14 +++ b/target/linux/gemini/config-4.14 @@ -60,7 +60,6 @@ CONFIG_CMDLINE="console=ttyS0,19200n8" CONFIG_CMDLINE_FROM_BOOTLOADER=y CONFIG_COMMON_CLK=y CONFIG_COMMON_CLK_GEMINI=y -CONFIG_COMPAT_BRK=y CONFIG_CONSOLE_TRANSLATIONS=y CONFIG_COREDUMP=y CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y diff --git a/target/linux/layerscape/armv7/config-4.14 b/target/linux/layerscape/armv7/config-4.14 index b70d4705de..99df681b54 100755 --- a/target/linux/layerscape/armv7/config-4.14 +++ b/target/linux/layerscape/armv7/config-4.14 @@ -119,7 +119,6 @@ CONFIG_CMA_SIZE_SEL_MBYTES=y # CONFIG_CMA_SIZE_SEL_PERCENTAGE is not set CONFIG_CMDLINE_PARTITION=y CONFIG_COMMON_CLK=y -CONFIG_COMPAT_BRK=y CONFIG_CONFIGFS_FS=y CONFIG_CONSOLE_TRANSLATIONS=y CONFIG_CONTEXT_SWITCH_TRACER=y diff --git a/target/linux/layerscape/armv8_32b/config-4.14 b/target/linux/layerscape/armv8_32b/config-4.14 index 89cb55bb8a..cbbbeaabe9 100644 --- a/target/linux/layerscape/armv8_32b/config-4.14 +++ b/target/linux/layerscape/armv8_32b/config-4.14 @@ -138,7 +138,6 @@ CONFIG_CMA_SIZE_SEL_MBYTES=y # CONFIG_CMA_SIZE_SEL_PERCENTAGE is not set CONFIG_CMDLINE_PARTITION=y CONFIG_COMMON_CLK=y -CONFIG_COMPAT_BRK=y CONFIG_CONFIGFS_FS=y CONFIG_CONSOLE_TRANSLATIONS=y CONFIG_CONTEXT_SWITCH_TRACER=y diff --git a/target/linux/octeon/config-4.14 b/target/linux/octeon/config-4.14 index b46295afb2..0546a6fb29 100644 --- a/target/linux/octeon/config-4.14 +++ b/target/linux/octeon/config-4.14 @@ -50,7 +50,6 @@ CONFIG_CAVIUM_OCTEON_SOC=y CONFIG_CEVT_R4K=y CONFIG_CLONE_BACKWARDS=y CONFIG_COMPAT=y -CONFIG_COMPAT_BRK=y CONFIG_COMPAT_NETLINK_MESSAGES=y CONFIG_CPU_BIG_ENDIAN=y CONFIG_CPU_CAVIUM_OCTEON=y diff --git a/target/linux/oxnas/config-4.14 b/target/linux/oxnas/config-4.14 index 9f3270128b..40a0fcf12c 100644 --- a/target/linux/oxnas/config-4.14 +++ b/target/linux/oxnas/config-4.14 @@ -70,7 +70,6 @@ CONFIG_CMA_SIZE_SEL_MBYTES=y CONFIG_CMDLINE_PARTITION=y CONFIG_COMMON_CLK=y CONFIG_COMMON_CLK_OXNAS=y -CONFIG_COMPAT_BRK=y CONFIG_CONSOLE_TRANSLATIONS=y CONFIG_CONTEXT_SWITCH_TRACER=y CONFIG_COREDUMP=y diff --git a/target/linux/samsung/s5pv210/config-4.14 b/target/linux/samsung/s5pv210/config-4.14 index 5c08348899..b72fce16f0 100644 --- a/target/linux/samsung/s5pv210/config-4.14 +++ b/target/linux/samsung/s5pv210/config-4.14 @@ -57,7 +57,6 @@ CONFIG_CLKSRC_SAMSUNG_PWM=y CONFIG_CLONE_BACKWARDS=y CONFIG_COMMON_CLK=y CONFIG_COMMON_CLK_SAMSUNG=y -CONFIG_COMPAT_BRK=y CONFIG_CONSOLE_TRANSLATIONS=y CONFIG_COREDUMP=y CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y diff --git a/target/linux/zynq/config-4.14 b/target/linux/zynq/config-4.14 index 26bf9a4747..72b3a2d6c7 100644 --- a/target/linux/zynq/config-4.14 +++ b/target/linux/zynq/config-4.14 @@ -125,7 +125,6 @@ CONFIG_COMMON_CLK=y # CONFIG_COMMON_CLK_AXI_CLKGEN is not set CONFIG_COMMON_CLK_SI570=y CONFIG_COMMON_CLK_VERSATILE=y -CONFIG_COMPAT_BRK=y CONFIG_CONNECTOR=y CONFIG_CONSOLE_TRANSLATIONS=y CONFIG_COREDUMP=y