commit | afb45637b2581be3501e520477b6b264fb2fed9e | [log] [tgz] |
---|---|---|
author | Joshua J. Drake <android-open-source@qoop.org> | Thu Dec 12 00:41:38 2013 -0600 |
committer | Nick Kralevich <nnk@google.com> | Thu Dec 12 10:47:08 2013 -0800 |
tree | f1dcb3f5971e525a3c624292ddf77130bc67b076 | |
parent | d270230fa49311901d8797a9e77865c37857d028 [diff] |
Enable NX protections Add -Wa,--noexecstack and -Wl,-z,noexecstack as default flags when compiling host-side applications. This enables NX protections, which prevent code from executing on the stack or heap. NX protections make exploiting memory corruption issues more challenging and is an important security feature. Change-Id: Iae580abe887e01f9029ec2a4e0fc0aae496724a4