diff options
author | 2017-10-24 20:06:54 +0000 | |
---|---|---|
committer | 2017-10-24 20:06:54 +0000 | |
commit | 9718ab18d7b6ce6d0c5b63926c7e6e95c2168d16 (patch) | |
tree | 089405943846ab3336e3e401bf19ef9858a26a1d /usr.bin/ssh/ssh.c | |
parent | Kill dead store and some spaces vs. tabs indent in parse_user_host_path(). (diff) | |
download | wireguard-openbsd-9718ab18d7b6ce6d0c5b63926c7e6e95c2168d16.tar.xz wireguard-openbsd-9718ab18d7b6ce6d0c5b63926c7e6e95c2168d16.zip |
In ld scripts, an output section with no input sections is always marked
writable, so the stub gap.o has .rodata flagged as RW. Instead of letting
that propagate to the final :rodata PT_LOAD section, force the flags on
the section to 4 (==PF_R) in the PHDRS block.
problem noted by mortimer@
ok deraadt@ kettenis@
Diffstat (limited to 'usr.bin/ssh/ssh.c')
0 files changed, 0 insertions, 0 deletions