ubus: activate PIE ASLR by default
authorPetr Štetiar <ynezz@true.cz>
Thu, 9 Jan 2020 13:04:39 +0000 (14:04 +0100)
committerPetr Štetiar <ynezz@true.cz>
Mon, 13 Jan 2020 23:06:03 +0000 (00:06 +0100)
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 <ynezz@true.cz>
package/system/ubus/Makefile

index aadef43af18881519a07bcbdb03b5ca776cdbed3..ab2cdbd99a337898e16db18cbfc84474ba322822 100644 (file)
@@ -12,9 +12,10 @@ CMAKE_INSTALL:=1
 
 PKG_LICENSE:=LGPL-2.1
 PKG_LICENSE_FILES:=
-
 PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
 
+PKG_ASLR_PIE_REGULAR:=1
+
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/cmake.mk