diff options
author | Kurt Miller <kurt@cvs.openbsd.org> | 2019-01-25 18:13:14 +0000 |
---|---|---|
committer | Kurt Miller <kurt@cvs.openbsd.org> | 2019-01-25 18:13:14 +0000 |
commit | 4d6ab29a228719c3bca357312d4cad15631e2a5d (patch) | |
tree | 481376c5bbaad4c4ad1561460b34f6b3caaa7062 /sys/arch/amd64/conf | |
parent | 6f6f926dc1b333c4059f8f121c82e917c3488453 (diff) |
On i386, ensure that the first PT_LOAD segment is below the W^X
line unless it is writable.
lld places read-only sections below the gap so this is needed
to be able to retain W^X with lld. Note however the read-only
sections below the W^X line are now executable on pre-NX
machines and a possible source of gadgets. This is a change
from Gnu ld where RO sections were ordered above the W^X line
and not executable.
okay drahn@ kettenis@ deraadt@
Diffstat (limited to 'sys/arch/amd64/conf')
0 files changed, 0 insertions, 0 deletions