]> git.ipfire.org Git - thirdparty/krb5.git/commit
Mark AESNI files as not needing executable stacks
authorGreg Hudson <ghudson@mit.edu>
Fri, 3 Jan 2014 18:50:48 +0000 (13:50 -0500)
committerGreg Hudson <ghudson@mit.edu>
Fri, 3 Jan 2014 18:50:48 +0000 (13:50 -0500)
commitc64e39c69a9a7ee32c00b0cf7918f6274a565544
tree163eaf2024038ec63cbf6227c4f359153646f764
parentdae7693f8bf970d89d4c697f3d66a7d458281b93
Mark AESNI files as not needing executable stacks

Some Linux systems now come with facilities to mark the stack as
non-executable, making it more difficult to exploit buffer overrun
bugs.  For this to work, object files built from assembly need a
section added to note whether they require an executable stack.

Patch from Dhiru Kholia with comments added.  More information at:
https://bugzilla.redhat.com/show_bug.cgi?id=1045699
https://wiki.gentoo.org/wiki/Hardened/GNU_stack_quickstart

ticket: 7813
target_version: 1.12.1
tags: pullup
src/lib/crypto/builtin/aes/iaesx64.s
src/lib/crypto/builtin/aes/iaesx86.s