Skip to content

Commit

Permalink
enable PKG_ASLR_PIE to harden the software
Browse files Browse the repository at this point in the history
this option was added in df0bd42fdeb76c9bc51b816c3df699db123c0024.

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.
  • Loading branch information
SvenRoederer authored and bobster-galore committed May 27, 2018
1 parent 962ce24 commit c271bc0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configs/common.config
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ CONFIG_PACKAGE_uhttpd-mod-ubus=m
CONFIG_PACKAGE_vnstat=m
CONFIG_PACKAGE_wpad=m
CONFIG_PACKAGE_zlib=m
CONFIG_PKG_ASLE_PIE=y
CONFIG_PREINITOPT=y
CONFIG_SDK=y
CONFIG_STRIP_KERNEL_EXPORTS=y
Expand Down

0 comments on commit c271bc0

Please sign in to comment.