Date: Tue, 19 Sep 2006 12:47:13 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/libexec/rtld-elf rtld.c Message-ID: <200609191247.k8JClDaT048713@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2006-09-19 12:47:13 UTC FreeBSD src repository Modified files: libexec/rtld-elf rtld.c Log: Fix the buggy rev. 1.117. dagmembers are only initialized for dlopen'ed dso that are actually loading. If dso a.so depends on b.so, then dlsym with handle from dlopen("b.so") will fail unconditionally. Correct implementation shall use the Obj_Entry.needed list to walk dependencies DAG. Test provided by: jkim Tested (prev. version) by: jkim, Nicolas Blais <nb_root at videotron ca>, h.blanke at chello nl Pointy hat to: kib Approved by: kan (mentor) Revision Changes Path 1.118 +63 -5 src/libexec/rtld-elf/rtld.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609191247.k8JClDaT048713>