summaryrefslogtreecommitdiff
path: root/usr.sbin/vmctl
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2017-05-29 09:44:02 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2017-05-29 09:44:02 +0000
commit25f541e1ffcc40847b9857af9c9bc3a472c135df (patch)
tree1d2e4d5aa5b82dbebfb30ceb1f1c381db56ee0f1 /usr.sbin/vmctl
parentb5fe26e1833a92b60c50e103de5dd35b26e864f2 (diff)
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.
Diffstat (limited to 'usr.sbin/vmctl')
0 files changed, 0 insertions, 0 deletions