]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
For the main binary, postpone enforcing relro read-only protection
authorkib <kib@FreeBSD.org>
Thu, 12 Jan 2017 15:54:03 +0000 (15:54 +0000)
committerkib <kib@FreeBSD.org>
Thu, 12 Jan 2017 15:54:03 +0000 (15:54 +0000)
commit355a081d90905c3f9061ee527fc3bdc11c0fb46e
treea044b3f5174a8cfb6a5970692526149d80ed00f1
parentce7458595738ffedb48bc4a011cd55cf239a3003
For the main binary, postpone enforcing relro read-only protection
until copy relocations are done.

Newer binutils and lld seems to output copy into relro-protected range.

Reported by: Rafael Espц╜ndola via emaste
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
libexec/rtld-elf/rtld.c