diff options
author | 2015-09-09 09:41:42 +0000 | |
---|---|---|
committer | 2015-09-09 09:41:42 +0000 | |
commit | 47ce292adb2c1490f99c50a99d2b9b17fd18193c (patch) | |
tree | c674346a195b85c4cb87273b3b06928d07ac4278 /lib/libc | |
parent | For truly static binaries, force .ctors, .dtors and .got to be read-only. (diff) | |
download | wireguard-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