Bug in dlsym() (scope problem(?) & RTLD_NEXT problem)

Ulrich Drepper drepper@cygnus.com
Fri Oct 16 21:07:00 GMT 1998


Geoff Keating <geoffk@ozemail.com.au> writes:

> and have no visible effect when it's added as a LD_PRELOAD object, no
> matter what function is overriden.  Many people expect and rely on
> this.

And this means that dlsym must have the same lookup rules as the
implicit lookup and therefore must given non-weak symbols a higher
priority.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------



More information about the Libc-hacker mailing list