commit | 093ba2599137453d015e04896a2971f3e9c0a251 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Fri Apr 23 09:53:09 2010 -0700 |
committer | Nick Kralevich <nnk@google.com> | Fri Apr 23 09:53:09 2010 -0700 |
tree | 258ccb0f027917f22bb02717e93e35668919e60d | |
parent | 33680b106dcb7025de0c37340869e32db61ad190 [diff] |
make libacc run with execute stack protections enabled. libacc was allocating memory using malloc for executable pages. When running on a system where the stack and heap are not executable, using malloc for executable pages will result in a segfault. This change modifies libacc to allow the code to run, even if the system is running with executable stack and heap disabled. Change-Id: Ia74e3d83750c09b7eefd865ff059db920093040d