From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BE5173857437; Fri, 17 Feb 2023 19:48:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BE5173857437 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1676663307; bh=QKZEVwLxUvyAbOWHGBb3z0nnshenR1KryNiDHPT3uG0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=dSwKMnR0XN023E5uh9yyEsQkcfymFLqhB/Ox/l+9f5PzLOr95fGbf9ejKIe8v/SsO IQ1jc+aDPAprRs7DKuXzrkfHQ612gOs4uS29sMsf2gFSMr4mrIVCzDCZefoxHU3mYv w8qFTSI1y1Y72hg18SkuD25Te/THAbPcOA29DPaw= From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/30134] DT_AUDIT is ignored for dlopen()ed solib Date: Fri, 17 Feb 2023 19:48:27 +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.38 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30134 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com --- Comment #1 from Florian Weimer --- (In reply to Stas Sergeev from comment #0) > Created attachment 14691 [details] > test case >=20 > The attached test-case links a solib > with --audit and then dlopen()s it. > If you do `ldd glreflib1.so` you'll see > the auditor printouts, so DT_AUDIT is set. > But dlopen() seems to ignore DT_AUDIT. This is currently the expected behavior. The link editor (ld) is expected to copy audit entries to the main program as DT_DEPAUDIT entries, so that the auditors are loaded at run time. But that only works for explicit linking, = it fails with dlopen. --=20 You are receiving this mail because: You are on the CC list for the bug.=