[PATCH] dl: fix dlsym lookups with RTLD_NEXT

2013-01-08 Thread Timo Teräs
The current code for dlsym() when invoked with RTLD_NEXT lookup searches for the module where it's being called from, and executes the _dl_find_hash only for the next module in the chain. However, if the looked symbol is not there, the rest of the modules are not checked. Generally this is not a p

Re: [PATCH] dl: fix dlsym lookups with RTLD_NEXT

2013-01-09 Thread Bernhard Reutner-Fischer
On 8 January 2013 10:55, Timo Teräs wrote: > The current code for dlsym() when invoked with RTLD_NEXT lookup > searches for the module where it's being called from, and executes the > _dl_find_hash only for the next module in the chain. However, if the > looked symbol is not there, the rest of the