ppp: activate PIE ASLR by default
authorPetr Štetiar <ynezz@true.cz>
Thu, 20 Feb 2020 09:46:49 +0000 (10:46 +0100)
committerPetr Štetiar <ynezz@true.cz>
Sun, 1 Mar 2020 20:35:59 +0000 (21:35 +0100)
This activates PIE ASLR support by default when the regular option is
selected.

Size increase on imx6:

 112681 ppp_2.4.8-2_arm_cortex-a9_neon.ipk
 121879 ppp_2.4.8-2_arm_cortex-a9_neon.ipk
 = 9198 diff

Acked-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
package/network/services/ppp/Makefile

index b43a40bdceec04e10aaee57d1ea9fdc3de9d2f82..9e42cb74374532fa32fc7042157b5c8d8085b3c9 100644 (file)
@@ -24,6 +24,7 @@ PKG_VERSION:=$(PKG_RELEASE_VERSION)
 
 PKG_BUILD_DEPENDS:=libpcap
 
+PKG_ASLR_PIE_REGULAR:=1
 PKG_BUILD_PARALLEL:=1
 PKG_INSTALL:=1