commit | 020e4919e89a824783dbe8716bc56785267323f7 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Tue Mar 20 11:35:24 2012 -0700 |
committer | Nick Kralevich <nnk@google.com> | Mon Apr 09 12:04:32 2012 -0700 |
tree | e6ad9d8b4356a4ea53e822a2db8cfc6e84ee3182 | |
parent | 135c3af45af3d18ebda5aa9f66562191f3da55a1 [diff] |
ARM: 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 Stop using the custom linker script, which inhibits relro / bind_now support. Change-Id: Iaebfbbb492299004f9da92b649985b6cd67d8c97