]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
rtld: Return error if $ORIGIN for a dlopen-ed library cannot be resolved ...
authorKonstantin Belousov <kib@FreeBSD.org>
Thu, 9 Jan 2020 10:05:45 +0000 (10:05 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Thu, 9 Jan 2020 10:05:45 +0000 (10:05 +0000)
commit8707334301528d83fefdcda8dc00a054e2310fbe
treeb3dd14c3f34568585553df9c65cad352bd5c2515
parentf1605963974bb7274c29de3fcc3ca9dcc030f590
rtld: Return error if $ORIGIN for a dlopen-ed library cannot be resolved ...

instead of killing the process.  The same behaviour of terminating
image activation if the $ORIGIN cannot be resolved for the main
object, is kept.

Reported by: Greg V <greg@unrelenting.technology>
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D23053
libexec/rtld-elf/rtld.c