This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug dynamic-link/24900] New: ld.so: Explicit loader invocation results in argv[0] in l_libname of main map


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]