commit | ecb1a565849b40ab7aa45b7fe71e24e29a059376 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Wed May 09 14:49:04 2012 -0700 |
committer | Nick Kralevich <nnk@google.com> | Wed May 09 14:49:04 2012 -0700 |
tree | 0cfafe6a37ada4e07e612a88e5309f332b309edf | |
parent | b6956bdd19242cde11b2e9c1f3941585706f3cd3 [diff] |
x86: compile everything with relro / bind_now Enable relro / bind_now when compiling Android applications. This marks certain regions of memory as read-only after linking, making memory corruption security vulnerabilities are harder to exploit. See: * http://www.akkadia.org/drepper/nonselsec.pdf (section 6) * http://tk-blog.blogspot.com/2009/02/relro-not-so-well-known-memory.html relro support has been enabled for ARM since 233d460f21d372f964f8078b8b0d5fd17af7c6b6. This change enables it for x86. Change-Id: Ib90704f2fecffcfdc3587607112804faa0e16385