commit | 2915cc3e323a9bf86e1a20b201ceb4e9529bc5a2 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Wed May 05 11:09:52 2010 -0700 |
committer | Nick Kralevich <nnk@google.com> | Wed May 05 11:09:52 2010 -0700 |
tree | 8d9150d4be3e0aacba7888ad6928f966c4b96586 | |
parent | ac06ea783bd5acf6ba2dcda0b62cb55c74cca196 [diff] |
Enable NX protections Add -Wa,--noexecstack and -Wl,-z,noexecstack as default flags when compiling applications. This enables NX protections, which prevent code from executing on the stack or heap. NX protections can block a large number of buffer overflow attacks, and is an important security feature. Change-Id: Iad4bab9f8664584ba6ce832a5318d07680d7a908