From d38dd6e1ef2d48ce0a30c1c41cbff388e7903cc4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20=C5=A0tetiar?= Date: Thu, 9 Jan 2020 14:04:39 +0100 Subject: [PATCH] ubus: activate PIE ASLR by default MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This activates PIE ASLR support by default when the regular option is selected. Size increase on x86/64: ubus Installed-Size: 5602 -> 5950 ubusd Installed-Size: 11643 -> 12119 Signed-off-by: Petr Å tetiar --- package/system/ubus/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/system/ubus/Makefile b/package/system/ubus/Makefile index aadef43af18..ab2cdbd99a3 100644 --- a/package/system/ubus/Makefile +++ b/package/system/ubus/Makefile @@ -12,9 +12,10 @@ CMAKE_INSTALL:=1 PKG_LICENSE:=LGPL-2.1 PKG_LICENSE_FILES:= - PKG_MAINTAINER:=Felix Fietkau +PKG_ASLR_PIE_REGULAR:=1 + include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/cmake.mk -- 2.30.2