[Bug libc/13623] New: provide API to for standalone dynamic string tokens (DST) expansion

sbrabec at suse dot cz sourceware-bugzilla@sourceware.org
Wed Jan 25 17:59:00 GMT 2012


http://sourceware.org/bugzilla/show_bug.cgi?id=13623

             Bug #: 13623
           Summary: provide API to for standalone dynamic string tokens
                    (DST) expansion
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: libc
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: sbrabec@suse.cz
    Classification: Unclassified


DST expansion is used for evaluation of dlopen() path. But the expansion is
private to the libdl and cannot be evaluated for external applications.

It would make sense to provide public API call to expand path:

- Modules directory specification can use $LIB and application would be able to
get a list of modules.

- Application would be able to stat() the module with $LIB in the path to check
whether such file exists, without actual loading them.

Example of problem:
https://bugzilla.gnome.org/show_bug.cgi?id=153848#c8

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Glibc-bugs mailing list