From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A7AD63858D38; Mon, 27 Feb 2023 08:16:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A7AD63858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1677485785; bh=Tgc81kLiu+ze7+RfWuCJcpEKV5yoinwSEkQtAZVQuho=; h=From:To:Subject:Date:In-Reply-To:References:From; b=nUFoddOeBzuQFCV+NZ4a9KoFcwnWjXwWm6p0t8lM5nQ+Qov+lxpqMsu+8aniyEeMi RXF8fXar8uUGl8lRcnj40gPUjMO6zq9ATXHdp3lwUBBL/a3d6pQGlyb5mE6IzQ754K 5LkyG/xMqLfDuNa3NbFaTnqhF+A0qa6+xLtLtQ70= From: "stsp at users dot sourceforge.net" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/30134] DT_AUDIT is ignored for dlopen()ed solib Date: Mon, 27 Feb 2023 08:16:24 +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: stsp at users dot sourceforge.net 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: 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30134 --- Comment #18 from Stas Sergeev --- (In reply to Jonathon Anderson from comment #14) > I suppose solibs could be different, but AFAICT you would have to refactor > _dl_map_object_from_fd to *also* read the dynamic section and recursively > load any auditors *before* its call to _dl_map_segments. Note that ld already does this and adds DT_DEPAUDIT for any recursive DT_AUDIT on a DT_NEEDED traversal. So bringing up a list of DT_AUDIT+ DT_DEPAUDIT is probably not a rocket science. But may still be too much for the "escape" strategy, as this RFE is. :) --=20 You are receiving this mail because: You are on the CC list for the bug.=