[Bug dynamic-link/26634] ld.so stats raw file names, bypassing the audit module
fweimer at redhat dot com
sourceware-bugzilla@sourceware.org
Thu Sep 24 13:56:45 GMT 2020
https://sourceware.org/bugzilla/show_bug.cgi?id=26634
--- Comment #6 from Florian Weimer <fweimer at redhat dot com> ---
(In reply to Ludovic Courtès from comment #5)
> (In reply to Florian Weimer from comment #4)
> > Sorry, since the search path contains only the name without /PREFIX, probing
> > without /PREFIX seems like the right thing to do to me. What am I missing?
>
> 'open_verify' checks /PREFIX/xyz/libfoo.so and returns -1. Then the caller
> stats /xyz, determines that it's ENOENT, and marks the entry as nonexisting.
>
> This is inconsistent: /PREFIX/xyz may well exist and thus, had we statted
> it, we would not have marked the entry as nonexisting.
I assume (based on my limited understanding of the code), that it stats /xyz
and marks /xyz as non-existing. The search paths do not contain /PREFIX
because that was added by la_objsearch. open_verify does not change the
incoming pathname buffer.
Are you observing something different?
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list