libcrypto: Enable library to be loaded in non-executable stack
authorJohn Marino <draco@marino.st>
Sun, 6 Sep 2015 08:58:37 +0000 (10:58 +0200)
committerJohn Marino <draco@marino.st>
Sun, 6 Sep 2015 09:06:02 +0000 (11:06 +0200)
commitfbf2f1c697bc6902d12264313e5f11362896dcc3
treed4241d9691aef2a657ec443e1c3353b57d1a0c75
parentdb0c4ee44498d81b469307501c9cabb2d3e79833
libcrypto: Enable library to be loaded in non-executable stack

I scanned my system for libraries that were loading on executable sections
of the stack and found two: libc and libcrypto.  After adding a GNU-stack
ELF note to each assembly file, the result is the crypto library now loads
in a non-executable stack.
19 files changed:
secure/lib/libcrypto/asm/aes-x86_64.s
secure/lib/libcrypto/asm/aesni-sha1-x86_64.s
secure/lib/libcrypto/asm/aesni-x86_64.s
secure/lib/libcrypto/asm/bsaes-x86_64.s
secure/lib/libcrypto/asm/cmll-x86_64.s
secure/lib/libcrypto/asm/ghash-x86_64.s
secure/lib/libcrypto/asm/md5-x86_64.s
secure/lib/libcrypto/asm/modexp512-x86_64.s
secure/lib/libcrypto/asm/rc4-md5-x86_64.s
secure/lib/libcrypto/asm/rc4-x86_64.s
secure/lib/libcrypto/asm/sha1-x86_64.s
secure/lib/libcrypto/asm/sha256-x86_64.s
secure/lib/libcrypto/asm/sha512-x86_64.s
secure/lib/libcrypto/asm/vpaes-x86_64.s
secure/lib/libcrypto/asm/wp-x86_64.s
secure/lib/libcrypto/asm/x86_64-gf2m.s
secure/lib/libcrypto/asm/x86_64-mont.s
secure/lib/libcrypto/asm/x86_64-mont5.s
secure/lib/libcrypto/asm/x86_64cpuid.s