opnsense-src/usr.sbin/sendmail
Shawn Webb 22b77e012b
HBSD: Introducing SafeStack
Compile world with SafeStack from clang/llvm. Right now, only
applications are compiled with SafeStack, not libraries. clang 3.9.0
does not support compiling shared libraries with SafeStack, though a
patch has been proposed that would enable support.

This is very much still a work-in-progress. More research is needed.

Note that with clang's current implementation of SafeStack, ASLR and W^X
are prerequisites. SafeStack currently requires ASLR and W^X in order to
be effective.

Signed-off-by:	Shawn Webb <shawn.webb@hardenedbsd.org>
(cherry picked from commit bb9e4981334b2988325c3334fc88c89b76fea91f)
(cherry picked from commit 3b3b0b08f19ec7c2f4fad06baa72e0ce2b5ac801)
(cherry picked from commit 0c2abce516fcfd80a7e2424807839ad64b5cb263)
2017-02-11 14:26:46 -05:00
..
Makefile HBSD: Introducing SafeStack 2017-02-11 14:26:46 -05:00
Makefile.depend src: clean-cut move to release/11.0.0 2016-10-03 12:28:21 +02:00