CVSROOT:        /cvs
Module name:    src
Changes by:     dera...@cvs.openbsd.org 2017/05/29 03:44:01

Modified files:
        etc            : rc 
        lib/libcrypto  : Makefile 

Log message:
Randomize link-order of libcrypto as we do with libc.  This library
has many small functions without significant local storage, therefore
less tail protection from -fstack-protector-strong to prevent their use
as ROP gadgets.  It is used in security contexts.  Also many functions
dribble pointers onto the stack, allowing discovery of gadgets via the
fixed relative addresses, so let's randomly bias those.
ok tedu jsing

The rc script will soon need a strategy for skipping this step on
machines with poor IO performance.  Or maybe do it less often?  However,
I don't see many more libraries we'll do this with, these are the two
most important ones.

Reply via email to