From: Hauke Mehrtens Date: Tue, 18 Dec 2018 17:43:06 +0000 (+0100) Subject: kernel: Deactivate CONFIG_COMPAT_BRK X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=89f8a8be7fae4802e06de745d85179d8b3b697d6;p=openwrt%2Fstaging%2Frmilecki.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 45faf55155f..308b346161a 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 dc8ed80e3af..326b05c089a 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 b70d4705dee..99df681b542 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 89cb55bb8a7..cbbbeaabe93 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 b46295afb29..0546a6fb294 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 9f3270128b9..40a0fcf12c0 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 5c08348899b..b72fce16f09 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 26bf9a4747c..72b3a2d6c76 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