]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
icp: mark asm files with noexec stack
authorJason Zaman <jason@perfinion.com>
Thu, 11 Aug 2016 15:59:03 +0000 (23:59 +0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 12 Aug 2016 16:51:26 +0000 (09:51 -0700)
commita3600a106deead9ef33466ab95a87cb64e7b995b
treef9eaf9095971e7a6aa81551cab82656b64bdfdb3
parenta9947ce77175234fa4e26afc663a75041b37f8f0
icp: mark asm files with noexec stack

If there is no explicit note in the .S files, the obj file will mark it
as requiring an executable stack. This is unneeded and causes issues on
hardened systems.

More info:
https://wiki.gentoo.org/wiki/Hardened/GNU_stack_quickstart

Signed-off-by: Jason Zaman <jason@perfinion.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4947
Closes #4962
module/icp/asm-x86_64/aes/aes_amd64.S
module/icp/asm-x86_64/aes/aes_intel.S
module/icp/asm-x86_64/modes/gcm_intel.S
module/icp/asm-x86_64/sha1/sha1-x86_64.S
module/icp/asm-x86_64/sha2/sha256_impl.S