This is the mail archive of the libc-alpha@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]

Re: [RFC][PATCH v1 1/5] bits/dlfcn.h: Declare and describe the dlmopen RTLD_SHARED flag


+#define RTLD_SHARED 0x00080

This is an RFC, but also note there is a MIPS-specific dlfcn.h which needs
patching also to define RTLD_SHARED. We should probably try to look at how
the constants overlap, and find a common value to start with for everyone.

Noted.

I agree that we need a constant with which to choose between:

* Old dlmopen behaviour.
* New dlmopen behaviour.

My plan is to put that in the "policy" patchset once this
"mechanism" patchset is acceptable:

Something like:

  RTLD_SHARED   - this library and its dependencies will be proxied
  RTLD_ISOLATED - nothing (except ld.so) will be proxied (we hope you
                  know what you're doing) aka the old behaviour
  -nothing-     - libc/libpthread/ld.so will be proxied from the main ns.
                  everything else will be isolated.

Details to be thrashed out later.


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