HomeFreeBSD

Fix the buggy rev. 1.117. dagmembers are only initialized for dlopen'ed
rS162438Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

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)

Details

Provenance
kibAuthored on
Parents
rS162437: Merge ia32_trap.c:1.13, ia64/trap.c:1.124, and powerpc/trap.c:1.62 from
Branches
Unknown
Tags
Unknown

Event Timeline