hardening: enable RELRO by default
authorSteven Barth <cyrus@openwrt.org>
Tue, 16 Jun 2015 17:28:05 +0000 (17:28 +0000)
committerSteven Barth <cyrus@openwrt.org>
Tue, 16 Jun 2015 17:28:05 +0000 (17:28 +0000)
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46004

config/Config-build.in

index 82ec0d6d0a780846e2819dc9b7a1a1a67455a485..0584820cddfd8bd6285c1a52fcb0088e9cd5d16e 100644 (file)
@@ -270,6 +270,7 @@ menu "Global build settings"
 
        choice
                prompt "Enable RELRO protection"
 
        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
                help
                  Enable a link-time protection known as RELRO (Relocation Read Only)
                  which helps to protect from certain type of exploitation techniques