HomeFreeBSD

icp: mark asm files with noexec stack

Description

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

Details

Provenance
Jason Zaman <jason@perfinion.com>Authored on Aug 11 2016, 3:59 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Aug 12 2016, 4:51 PM
Parents
rGa9947ce77175: icp: add no_const for PaX Compat
Branches
Unknown
Tags
Unknown