From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0DB313857343; Thu, 4 Aug 2022 04:43:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0DB313857343 From: "keno at juliacomputing dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/29446] New: __dlopen now ignores dl_caller argument Date: Thu, 04 Aug 2022 04:43:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.34 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: keno at juliacomputing 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Aug 2022 04:43:21 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29446 Bug ID: 29446 Summary: __dlopen now ignores dl_caller argument Product: glibc Version: 2.34 Status: UNCONFIRMED Severity: normal Priority: P2 Component: dynamic-link Assignee: unassigned at sourceware dot org Reporter: keno at juliacomputing dot com Target Milestone: --- In commit 0c1c3a77 ("dlfcn: Move dlopen into libc"), the previous __dlopen symbol was renamed dlopen_implementation, and moved into libc. After this commit, __dlopen is now: ``` void * __dlopen (const char *file, int mode, void *dl_caller) { return dlopen_implementation (file, mode, RETURN_ADDRESS (0)); } ``` This seems like it may be a bug, because the `dl_caller` argument to `__dlopen` is now ignored. I don't have a concrete case where this causes any problems, this was just noticed by inspection, but it looked wrong. --=20 You are receiving this mail because: You are on the CC list for the bug.=