Files
build/core
Nick Kralevich 100acd1001 host compiler: enable compiler hardening flags
Enable the following compiler hardening flags:

* -Wl,-z,relro
* -Wl,-z,now
* -fstack-protector

relro / bind_now make the relro region read-only after linking,
preventing certain attacks against ELF data structures.

stack-protector adds stack canaries, which can detect exploits
which overwrite parts of the stack.

Explicitly not added in this change is FORTIFY_SOURCE=2. Adding that
option turns on glibc's warn_unused_result attributes. This generates
a huge number of new compile time warnings, and for the multiple
makefiles which have -Werror in them, turns those warnings into errors.
I'm not able to fix all the errors right away.

Bug: 20558757
Change-Id: I86791177c6695f5325233d9dd9a5dd3ccc2b1a2f
2015-04-24 21:26:08 -07:00
..
2015-04-21 17:53:21 -07:00
2014-11-07 16:10:17 +05:30
2013-10-23 13:18:39 -07:00
2014-05-14 19:16:25 -07:00
2014-05-14 16:55:04 -07:00
2014-09-03 15:39:50 -07:00
2015-04-03 16:55:09 -07:00
2013-11-15 14:43:33 -08:00
2014-07-21 14:42:29 -07:00
2014-08-23 09:45:31 -07:00
2014-09-04 18:59:05 -07:00
2014-05-21 16:40:35 -07:00
2014-05-14 16:55:04 -07:00