aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2019-10-27 14:56:27 +0100
committerPetr Štetiar <ynezz@true.cz>2020-01-13 15:34:36 +0100
commit7ab66130264a1955c45fa10c3b5acdd3ffc9d3f9 (patch)
treefb89337e37ca692229473aa0fc589ce50c2e242e /package/network/services
parentdae0ac77706ad2f1c638713a52bd7817b1a93b16 (diff)
downloadupstream-7ab66130264a1955c45fa10c3b5acdd3ffc9d3f9.tar.gz
upstream-7ab66130264a1955c45fa10c3b5acdd3ffc9d3f9.tar.bz2
upstream-7ab66130264a1955c45fa10c3b5acdd3ffc9d3f9.zip
dropbear: Activate PIE by default
This activates PIE ASLR support by default when the regular option is selected. This increases the binary size by 18% uncompressed and 17% compressed on MIPS BE. old: 164,261 /usr/sbin/dropbear 85,648 dropbear_2019.78-2_mips_24kc.ipk new: 194,492 /usr/sbin/dropbear 100,309 dropbear_2019.78-2_mips_24kc.ipk Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Acked-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'package/network/services')
-rw-r--r--package/network/services/dropbear/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/network/services/dropbear/Makefile b/package/network/services/dropbear/Makefile
index c55af45428..d92b94915b 100644
--- a/package/network/services/dropbear/Makefile
+++ b/package/network/services/dropbear/Makefile
@@ -22,6 +22,7 @@ PKG_LICENSE_FILES:=LICENSE libtomcrypt/LICENSE libtommath/LICENSE
PKG_CPE_ID:=cpe:/a:matt_johnston:dropbear_ssh_server
PKG_BUILD_PARALLEL:=1
+PKG_ASLR_PIE_REGULAR:=1
PKG_USE_MIPS16:=0
PKG_FIXUP:=autoreconf