[OpenWrt-Devel] [PATCH] ppp: activate PIE ASLR by default

Petr Štetiar ynezz at true.cz
Thu Feb 20 04:56:26 EST 2020


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

Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
 package/network/services/ppp/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/network/services/ppp/Makefile b/package/network/services/ppp/Makefile
index b43a40bdceec..9e42cb743745 100644
--- a/package/network/services/ppp/Makefile
+++ b/package/network/services/ppp/Makefile
@@ -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
 

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list