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/22745] _nptl_setxid can loop forever if a dlmopen namespace tries to initialise pthreads after the main namespace does


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

--- Comment #4 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Vivek Das Mohapatra from comment #3)
> My initial plan is to implement, if I can, the RTLD_UNIQUE flag I proposed
> which would make the targeted namespace re-use the mapping already in the
> main link map - I think that's got to be the basis for whatever the final
> behaviour and semantics turn out to be.
> 
> Before I sink a lot of time into this, does that sound reasonable?

No, and I wrote it out in a wiki page with some notes about why.

We should try to flesh out partial isolation first, but must keep full
isolation working for LD_AUDIT.

https://sourceware.org/glibc/wiki/LinkerNamespaces

-- 
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]