summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh.c
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2015-09-23 22:52:12 +0000
committerkettenis <kettenis@openbsd.org>2015-09-23 22:52:12 +0000
commit6d086794e5364c816d70cbcb37931680ce1578f2 (patch)
tree1277cd478b6a25f5cb5b091edfb7189c6abdc951 /usr.bin/ssh/ssh.c
parentNo need for err.h, avoid excess fputs() calls and return from main (diff)
downloadwireguard-openbsd-6d086794e5364c816d70cbcb37931680ce1578f2.tar.xz
wireguard-openbsd-6d086794e5364c816d70cbcb37931680ce1578f2.zip
Don't be too agressive write-protecting the GOT and PLT. If we have no clue
where they end, there is a good chance they are sharing a page with .data, which obviously needs to remain writable. So only attempt to make them read-only if we know they have a non-zero size. Original diff from guenther@ based on an earlier diff from me. Fixes ld -Z on alpha. ok miod@, guenther@
Diffstat (limited to 'usr.bin/ssh/ssh.c')
0 files changed, 0 insertions, 0 deletions