From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 53E06385840E; Wed, 22 Mar 2023 11:48:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 53E06385840E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1679485730; bh=7YTgdd5yr8OX4ivdM2USLyhcMa6XuDQdbj9EVMz8VGc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=NiyeR2uslemtNRqmOREHAWNpYZDwlBgTM0DyZRb1cucbkr0FK5WSgh/bQgAwcRCl2 Rx1MmwLwbCr8Y2xjpOwolsz+Qq3hf1sxiR97HvM/LIFvLcyQLC2A3nMaIDQNQHK6E3 vwJ2THB+HCnfkQR0bUejdEQXF+3xxgfhG6ieQPzo= From: "parky at outlook dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/30186] RTLD_DEEPBIND interacts badly with LD_PRELOAD Date: Wed, 22 Mar 2023 11:48:49 +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: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: parky at outlook 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: 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=3D30186 --- Comment #8 from Matthew Parkinson --- > This might work, the hook requires a global load and branch but it should= be=20 > a predictable branch and performance should be ok. I would require to add > additional hooks on every malloc function, adding another configuration l= ayer > which is an extra complexity for malloc interposition (which I am not very > found on). I agree the complexity is not nice.=20=20 > You might ask what other maintainers think about this approach, Should I email libc-alpha to achieve this? > I personally > still think we should properly add preload option to have a more generic > fix to fix symbol interpostion with RTLD_DEEPBIND for all possible symbols > and not a ad-hoc fix for malloc. This is not something I understand well enough to contribute to, so I am ju= st trying to understand if there is something I can do, or if I need to wait f= or a solution. Thanks --=20 You are receiving this mail because: You are on the CC list for the bug.=