From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D93BF38582AB; Fri, 17 Feb 2023 08:56:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D93BF38582AB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1676624193; bh=yIt3MGw5H0tSoMCBanExhO+agpIe+3YJkXerlGtG58E=; h=From:To:Subject:Date:In-Reply-To:References:From; b=lZx4zInX5q134PnmH25MmBR4jCm/n1gVf4ZMKV5oOVeehV5tq4dleWPWpKvn2+MxG A1YAvr9FJ+daDE443cwpH5dLKP76hd45pV3Q8/0qLLGZfQi2Gso7KWJAL8KXcRoN3N NTxMRTUhiBDvVFgFkMLHTMU6I6lXgT1sLELE3SUA= From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/30127] [rfe]: enable ld audit at run-time Date: Fri, 17 Feb 2023 08:56:29 +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: 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=3D30127 --- Comment #6 from Florian Weimer --- It works for me: (gdb) print ((struct r_debug_extended)_r_debug).r_next.base.r_map.l_name $5 =3D 0x7f13d58926f0 "elf/sotruss-lib.so" (gdb) print ((struct r_debug_extended *)&_r_debug).r_next.base.r_map.l_name $6 =3D 0x7f13d58926f0 "elf/sotruss-lib.so" This is with glibc-2.36-9.fc37.x86_64. We don't have any downstream fixes f= or audit support. There is a problem with copy relocations against _r_debug. If you try to ac= cess _r_debug programmatically, try to build with -fPIC. --=20 You are receiving this mail because: You are on the CC list for the bug.=