summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2015-09-09 09:41:42 +0000
committerkettenis <kettenis@openbsd.org>2015-09-09 09:41:42 +0000
commit47ce292adb2c1490f99c50a99d2b9b17fd18193c (patch)
treec674346a195b85c4cb87273b3b06928d07ac4278 /lib/libc
parentFor truly static binaries, force .ctors, .dtors and .got to be read-only. (diff)
downloadwireguard-openbsd-47ce292adb2c1490f99c50a99d2b9b17fd18193c.tar.xz
wireguard-openbsd-47ce292adb2c1490f99c50a99d2b9b17fd18193c.zip
Now that ld(1) will generate a read-only GOT for truly static binaries, we
no longer have to use mprotect(2) to take away PROT_WRITE. This fixes ld -Z and paves the way for the new Secure-PLT ABI. ok miod@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions