On 06/18/2010 08:09 AM, Charles Wilson wrote:

Here's the key bit:

Searching for preloaded symbol table for last
vs
Searching for preloaded symbol table for /usr/bin/last

SO, before preopen:vmopen is called, somebody -- one of the other
loaders? -- modified 'filename' simply because /usr/bin/last.exe exists.
  But I thought preopen was the very first loader.

Yes, the preopen loader gets tried first with last.a, it failed, then find_handle is called which does an access() check for last in every dir in path, and then tryall_dlopen()'s it if it exists.

tryall_dlopen also tries the preopen loader.

Peter


Reply via email to