public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug dynamic-link/29446] New: __dlopen now ignores dl_caller argument
@ 2022-08-04 4:43 keno at juliacomputing dot com
2022-08-04 6:24 ` [Bug dynamic-link/29446] " fweimer at redhat dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: keno at juliacomputing dot com @ 2022-08-04 4:43 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=29446
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug dynamic-link/29446] __dlopen now ignores dl_caller argument
2022-08-04 4:43 [Bug dynamic-link/29446] New: __dlopen now ignores dl_caller argument keno at juliacomputing dot com
@ 2022-08-04 6:24 ` fweimer at redhat dot com
2022-08-04 6:25 ` [Bug dynamic-link/29446] __dlopen now ignores dl_caller argument in static mode fweimer at redhat dot com
2022-08-04 6:51 ` fweimer at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2022-08-04 6:24 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=29446
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |ASSIGNED
Flags| |security-
CC| |fweimer at redhat dot com
Assignee|unassigned at sourceware dot org |fweimer at redhat dot com
Last reconfirmed| |2022-08-04
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug dynamic-link/29446] __dlopen now ignores dl_caller argument in static mode
2022-08-04 4:43 [Bug dynamic-link/29446] New: __dlopen now ignores dl_caller argument keno at juliacomputing dot com
2022-08-04 6:24 ` [Bug dynamic-link/29446] " fweimer at redhat dot com
@ 2022-08-04 6:25 ` fweimer at redhat dot com
2022-08-04 6:51 ` fweimer at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2022-08-04 6:25 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=29446
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|__dlopen now ignores |__dlopen now ignores
|dl_caller argument |dl_caller argument in
| |static mode
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug dynamic-link/29446] __dlopen now ignores dl_caller argument in static mode
2022-08-04 4:43 [Bug dynamic-link/29446] New: __dlopen now ignores dl_caller argument keno at juliacomputing dot com
2022-08-04 6:24 ` [Bug dynamic-link/29446] " fweimer at redhat dot com
2022-08-04 6:25 ` [Bug dynamic-link/29446] __dlopen now ignores dl_caller argument in static mode fweimer at redhat dot com
@ 2022-08-04 6:51 ` fweimer at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2022-08-04 6:51 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=29446
--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
Patch posted:
[PATCH] dlfcn: Pass caller pointer to static dlopen implementation (bug 29446)
<https://sourceware.org/pipermail/libc-alpha/2022-August/141233.html>
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-08-04 6:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-04 4:43 [Bug dynamic-link/29446] New: __dlopen now ignores dl_caller argument keno at juliacomputing dot com
2022-08-04 6:24 ` [Bug dynamic-link/29446] " fweimer at redhat dot com
2022-08-04 6:25 ` [Bug dynamic-link/29446] __dlopen now ignores dl_caller argument in static mode fweimer at redhat dot com
2022-08-04 6:51 ` fweimer at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).