]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix the AT_EXECFD functionality.
authorKonstantin Belousov <kib@FreeBSD.org>
Mon, 15 May 2017 18:47:25 +0000 (18:47 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Mon, 15 May 2017 18:47:25 +0000 (18:47 +0000)
commit9104191924e721f6bc70e731fa4954a71958e73e
tree4dfa02bb419fee93187cb9ddd870ee60504eeca3
parent3f1466a535a571ae884ce9f3af3659259728d34d
Fix the AT_EXECFD functionality.

If the mapped object is linked at specific address, we must obey it.
If AT_EXECFD is not used, only in-kernel ELF image activator needed to
keep the mapping address, since only binaries are linked at the fixed
address, and binaries are mapped by kernel in this case.

Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
X-Differential revision: https://reviews.freebsd.org/D10701
libexec/rtld-elf/map_object.c