From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E1CF53858433; Wed, 22 Mar 2023 15:45:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E1CF53858433 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1679499939; bh=hWhnF4fGOXzu4lrcy8Vi8CU7UueTjzAASinXmIhw+GY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=h/3c22zK0cHlByujRVb8iwzIPPQkDw0BD68v2nykHOcOYENVEbb8vUMPQEH8ynBDl 5znHj9MvOWYd+36GgBh2rZK5YMsK1JiEGakxoJbR5+PQCc5eJ5kYyf+m95NJAi13bQ xdI/T3UKE9VxPYX/1Wc1q63NSQ4gaA8FbZfQtYCM= From: "siddhesh at sourceware dot org" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/30186] RTLD_DEEPBIND interacts badly with LD_PRELOAD Date: Wed, 22 Mar 2023 15:45:39 +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: siddhesh at sourceware dot org 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 #10 from Siddhesh Poyarekar --- We just removed hooks recently because they're a common exploit primitive, = lets not go back in the direction of adding global function pointers again. The core issue here is the ordering of RTLD_DEEPBIND vs LD_PRELOAD and IMO = the fact that LD_PRELOAD doesn't win is something that should be fixed. I thin= k it always should win but there may be reasons to have RTLD_DEEPBIND win that I= 'm unaware of. Lets discuss fixing that ordering issue instead on the libc-al= pha mailing list. --=20 You are receiving this mail because: You are on the CC list for the bug.=