]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make ldd(1) work when versioned dependency file is cannot be loaded.
authorkib <kib@FreeBSD.org>
Sun, 30 Jan 2011 16:14:09 +0000 (16:14 +0000)
committerkib <kib@FreeBSD.org>
Sun, 30 Jan 2011 16:14:09 +0000 (16:14 +0000)
commiteb600b11804e80fee6e15936da93f554b907ea76
treefa2813f83ff852b97d0e491520a066af64090adc
parent71ec4b8793a3cb5044e713945787b810d02f235e
Make ldd(1) work when versioned dependency file is cannot be loaded.
Instead of aborting in locate_dependency(), propagate the error to
caller. The rtld startup function does the right thing with an error
from rtld_verify_versions(), depending on the mode of operation.

Reported by: maho
In collaboration with: kan
MFC after: 1 week
libexec/rtld-elf/rtld.c