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

Stijn Tintel stijn at linux-ipv6.be
Sat Feb 22 04:40:26 EST 2020


This activates PIE ASLR support by default when the regular option is
selected. This is required to enable PIE ASLR support by default in ppp,
as it fails to build without it, on x86/64.

The .so file size stays identical.

Suggested-by: Felix Fietkau <nbd at nbd.name>
Signed-off-by: Stijn Tintel <stijn at linux-ipv6.be>
---
 package/libs/libpcap/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/libs/libpcap/Makefile b/package/libs/libpcap/Makefile
index 69af9d0700..1a2cdcdd98 100644
--- a/package/libs/libpcap/Makefile
+++ b/package/libs/libpcap/Makefile
@@ -19,6 +19,7 @@ PKG_HASH:=635237637c5b619bcceba91900666b64d56ecb7be63f298f601ec786ce087094
 PKG_MAINTAINER:=Felix Fietkau <nbd at nbd.name>
 
 CMAKE_INSTALL:=1
+PKG_ASLR_PIE_REGULAR:=1
 PKG_BUILD_PARALLEL:=1
 
 PKG_LICENSE:=BSD-3-Clause
-- 
2.24.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