This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/24900] New: ld.so: Explicit loader invocation results in argv[0] in l_libname of main map
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 12 Aug 2019 14:30:55 +0000
- Subject: [Bug dynamic-link/24900] New: ld.so: Explicit loader invocation results in argv[0] in l_libname of main map
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=24900
Bug ID: 24900
Summary: ld.so: Explicit loader invocation results in argv[0]
in l_libname of main map
Product: glibc
Version: 2.31
Status: NEW
Severity: normal
Priority: P3
Component: dynamic-link
Assignee: unassigned at sourceware dot org
Reporter: fweimer at redhat dot com
Target Milestone: ---
Flags: security-
With an explicit loader invocation, the loader adds the main executable name
(which is passed to the main function as argv[0]) to l_libname of the main map.
This is not what happens in default mode. There, the string "" is used
instead.
If possible, we should align the behavior for both modes, so that glibc testing
without hardcoded paths becomes more realistic.
--
You are receiving this mail because:
You are on the CC list for the bug.