openwrt/package/utils
Julien Dusser df0bd42fde build: add hardened builds with PIE (ASLR) support
Introduce a configuration option to build a "hardened" OpenWrt with
ASLR PIE support.

Add new option PKG_ASLR_PIE to enable Address Space Layout Randomization (ASLR)
by building Position Independent Executables (PIE). This new option protects
against "return-to-text" attacks.

Busybox need a special care, link is done with ld, not gcc, leading to
unknown flags. Set BUSYBOX_DEFAULT_PIE instead and disable PKG_ASLR_PIE.

If other failing packages were found, PKG_ASLR_PIE:=0 should be added to
their Makefiles.

Original Work by: Yongkui Han <yonhan@cisco.com>
Signed-off-by: Julien Dusser <julien.dusser@free.fr>
2018-01-27 16:46:45 +01:00
..
adb adb: fix package description 2017-10-29 16:16:35 +01:00
admswconfig treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
bsdiff bsdiff: Also pass down TARGET_CPPFLAGS 2017-03-01 17:19:50 -08:00
busybox build: add hardened builds with PIE (ASLR) support 2018-01-27 16:46:45 +01:00
bzip2 add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
ct-bugcheck merge: packages: update branding in core packages 2017-12-08 19:41:18 +01:00
e2fsprogs e2fsprogs: Update to 1.43.7 2017-12-14 09:29:30 +01:00
f2fs-tools package/utils/f2fs-tools: Update to 1.9.0 2017-09-30 22:43:17 +02:00
fbtest utils/fbtest: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:51 +02:00
fritz-tools fritz_tffs_read: get tffs size from input file 2017-06-24 22:36:38 +02:00
fuse add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
jsonfilter treewide: replace LEDE_GIT with PROJECT_GIT 2018-01-10 21:27:32 +01:00
lua lua: clean up patch fuzz 2018-01-05 10:42:34 +01:00
mdadm mdadm: fix parameter quoting 2017-10-27 03:26:37 +02:00
mtd-utils mtd-utils: use source package name for lzo in PKG_BUILD_DEPENDS 2017-07-08 22:51:34 +02:00
nvram packages: nvram: fix memory leak in _nvram_free 2017-11-15 21:11:23 +01:00
osafeloader packages: mark packages depending on a target as nonshared 2017-01-24 09:45:05 +01:00
oseama utils/oseama: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:52 +02:00
otrx otrx: fix memory leak in otrx_create_append_zeros 2017-11-17 11:32:51 +01:00
px5g px5g: Fix TARGET_LDFLAGS and add TARGET_CPPFLAGS 2017-03-01 17:19:51 -08:00
spidev_test utils/spidev_test: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:52 +02:00
ugps treewide: replace LEDE_GIT with PROJECT_GIT 2018-01-10 21:27:32 +01:00
usbmode treewide: replace LEDE_GIT with PROJECT_GIT 2018-01-10 21:27:32 +01:00
usbreset utils/usbreset: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:52 +02:00
usbutils usbutils: Update usb.ids file to latest 2017-11-22 20:45:07 +01:00
util-linux util-linux: add fstrim support 2018-01-18 08:04:18 +01:00
xfsprogs add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00