]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
rtld: Allow to load ET_DYN && DF_1_PIE when tracing.
authorkib <kib@FreeBSD.org>
Tue, 16 Jun 2020 21:29:02 +0000 (21:29 +0000)
committerkib <kib@FreeBSD.org>
Tue, 16 Jun 2020 21:29:02 +0000 (21:29 +0000)
commit964866bc619181b21957446931549c5d3091f9e5
tree9931d5298dea4080198910b465d171a3ecae3abf
parent7cde18706e4219549efbb863a3312cb8f3135b7a
rtld: Allow to load ET_DYN && DF_1_PIE when tracing.

This makes old ldd to still work on newer tagged PIE binaries.

Also move debug line for hashes before both decisions to not load are
done, so that the end of digest_dynamic() processing and reason to not
load or load is seen in debug trace.

Noted by: jhb
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
libexec/rtld-elf/rtld.c