[PATCH] deprecate libnsl/libnss_*

Joseph Myers joseph@codesourcery.com
Thu Apr 7 15:25:00 GMT 2016


On Thu, 7 Apr 2016, Florian Weimer wrote:

> libtirpc also pulls in a lot of libraries, which makes it less
> compatible with in-process NSS modules.  I think it is generally assumed

If it's visible to an application what libraries were loaded by an NSS 
module, I'd consider that to be a bug (bug 16881, I think) - NSS modules 
should be loaded in such a way that this is not visible.

> problems due to the additional libraries which it brings in, and the
> late loading of libpthread (in response to a NSS request).

I think we need to fix the issues in libc that break with late loading of 
libpthread, so that it can be properly transparent to the application 
whether any modules it loads use threads or not.  (Bug 16628, I think; 
also bug 18192 relates to dlopen of libpthread, and there may be other 
such bugs filed as well.)

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list