On Fri, Oct 16, 2015 at 7:16 AM, Peter Hajdu <[email protected]> wrote: > I found something that seems to be a bug in ld.so. If I load a > shared library with full path with dlopen, it does not check if the > library is already loaded. I was hoping someone can have a look at > it too, I might have missed something.
Hmm, ld.so currently checks whether a library has already been opened by comparing the dev+ino of the library against those of the already loaded libraries. This is done in library.c (and library_mquery.c for i386). It seems to work in a quick test; you have an case where it doesn't? Philip Guenther
