aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2015-06-16 17:28:05 +0000
committerSteven Barth <cyrus@openwrt.org>2015-06-16 17:28:05 +0000
commitf8140c9caf4d037e4347e828a96d9008a7e16f02 (patch)
tree859ba2d3f954ed6cf207acfd50aaea0c2aef9c11
parent11489a85cfcadf6ac23d490bcad65ff8f55ea2bb (diff)
downloadupstream-f8140c9caf4d037e4347e828a96d9008a7e16f02.tar.gz
upstream-f8140c9caf4d037e4347e828a96d9008a7e16f02.tar.bz2
upstream-f8140c9caf4d037e4347e828a96d9008a7e16f02.zip
hardening: enable RELRO by default
Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46004
-rw-r--r--config/Config-build.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/Config-build.in b/config/Config-build.in
index 82ec0d6d0a..0584820cdd 100644
--- a/config/Config-build.in
+++ b/config/Config-build.in
@@ -270,6 +270,7 @@ menu "Global build settings"
choice
prompt "Enable RELRO protection"
+ default PKG_RELRO_FULL
help
Enable a link-time protection known as RELRO (Relocation Read Only)
which helps to protect from certain type of exploitation techniques