[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/40220: LD_PRELOAD with dlsym(RTLD_NEXT, "stat") recursion
The following reply was made to PR lib/40220; it has been noted by GNATS.
From: Christian Biere <christianbiere%gmx.de@localhost>
Subject: Re: lib/40220: LD_PRELOAD with dlsym(RTLD_NEXT, "stat") recursion
Date: Sat, 18 Apr 2009 15:58:23 +0200
I just noticed similar i.e., socker doesn't work anymore when using
the LD_PRELOAD wrapper on NetBSD. I've looked at the workaround in the
The workaround is to use "__stat30" instead of "stat" for dlsym().
For socker I had to change "socket" to "__socket30".
A quick check shows that a couple functions seem to be affected by
$ nm /lib/libc.so|sed -n 's,^.* T __\(.*\)30$,\1,p'
Will this be fixed or are the "__.*30" names permanent?
If these change the workaround will of course turn into a bug itself.
Main Index |
Thread Index |