cvs commit: src/libexec/rtld-elf rtld.c

Konstantin Belousov kib at FreeBSD.org
Tue Sep 19 05:47:13 PDT 2006


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


More information about the cvs-src mailing list