[Bug dynamic-link/25421] New: Implement RTLD_GROUP, RTLD_PARENT, RTLD_WORLD

carlos at redhat dot com sourceware-bugzilla@sourceware.org
Mon Jan 20 14:41:00 GMT 2020


https://sourceware.org/bugzilla/show_bug.cgi?id=25421

            Bug ID: 25421
           Summary: Implement RTLD_GROUP, RTLD_PARENT, RTLD_WORLD
           Product: glibc
           Version: 2.31
            Status: NEW
          Severity: normal
          Priority: P2
         Component: dynamic-link
          Assignee: unassigned at sourceware dot org
          Reporter: carlos at redhat dot com
  Target Milestone: ---

The Solaris dynamic loader implements 3 additional controls for symbol scope
resolution:

RTLD_GROUP - Resolution is only allowed from the self-contained set of objects
that are in their dependencies.

RTLD_PARENT - Resolution of the symbols of a secondary dlopen'd object can be
taken from the parent object making the dlopen call. In this way you can have a
secondary object that needs symbols from many different parent implementations
without having an explicit dependency.

RTLD_WORLD - Only symbols from RTLD_GLOBAL are used for resolution, ignorning
the current scope.

With these 3 additional modes we could provide additional semantics that would
be useful for plugin authors, particularly RTLD_PARENT.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list