From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AAAE23959E46; Thu, 24 Sep 2020 13:35:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AAAE23959E46 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/26634] ld.so stats raw file names, bypassing the audit module Date: Thu, 24 Sep 2020 13:35:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2020 13:35:12 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26634 --- Comment #4 from Florian Weimer --- (In reply to Ludovic Court=C3=A8s from comment #3) > (In reply to Florian Weimer from comment #2) > > Is there an actual bug here? The loader caches information that search = path > > entries do not exist. It is likely that this information will be useful= for > > further library loading. So this does not even seem to be a performance= bug. > >=20 > > Or is there an observable behavioral difference? >=20 > Yes: when an audit module is used, the loader potentially stats the wrong > directory (the "original" one instead of that returned by the audit modul= e), > and thus caches wrong information about search path entries. 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? --=20 You are receiving this mail because: You are on the CC list for the bug.=