Skip to content

Commit

Permalink
icp: mark asm files with noexec stack
Browse files Browse the repository at this point in the history
Similar to commit a3600a1.  Asm files need an explicit note
that they do not require an executable stack.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Jason Zaman <jason@perfinion.com>
Closes openzfs#5332
  • Loading branch information
perfinion authored and behlendorf committed Oct 25, 2016
1 parent 9fa4db4 commit 402c7c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions module/icp/asm-x86_64/sha2/sha512_impl.S
Original file line number Diff line number Diff line change
Expand Up @@ -2081,3 +2081,7 @@ K512:
.quad 0x4cc5d4becb3e42b6,0x597f299cfc657e2a
.quad 0x5fcb6fab3ad6faec,0x6c44198c4a475817
#endif /* !lint && !__lint */

#ifdef __ELF__
.section .note.GNU-stack,"",%progbits
#endif

0 comments on commit 402c7c2

Please sign in to comment.