about summary refs log tree commit diff
path: root/include/dlfcn.h
diff options
context:
space:
mode:
authorPetr Vorel <pvorel@suse.cz>2020-07-08 13:06:55 +0200
committerFlorian Weimer <fweimer@redhat.com>2020-07-08 17:25:57 +0200
commitae7a94e5e3edf78f4da562edc05ece229614c716 (patch)
treebe0969c61080fc1dbd69293944a3362b20db7cff /include/dlfcn.h
parentacb527929d0c2b3bb0798472c42ddb3203729708 (diff)
downloadglibc-ae7a94e5e3edf78f4da562edc05ece229614c716.tar.gz
glibc-ae7a94e5e3edf78f4da562edc05ece229614c716.tar.xz
glibc-ae7a94e5e3edf78f4da562edc05ece229614c716.zip
Remove --enable-obsolete-nsl configure flag
this means that *always* libnsl is only built as shared library for
backward compatibility and the NSS modules libnss_nis and libnss_nisplus
are not built at all, libnsl's headers aren't installed.

This compatibility is kept only for architectures and ABIs that have
been added in or before version 2.28.

Replacement implementations based on TIRPC, which additionally support
IPv6, are available from <https://github.com/thkukuk/>.

This change does not affect libnss_compat which does not depended
on libnsl since 2.27 and thus can be used without NIS.

libnsl code depends on Sun RPC, e.g. on --enable-obsolete-rpc (installed
libnsl headers use installed Sun RPC headers), which will be removed in
the following commit.
Diffstat (limited to 'include/dlfcn.h')
-rw-r--r--include/dlfcn.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/dlfcn.h b/include/dlfcn.h
index 93dd369ab1..a1816e4991 100644
--- a/include/dlfcn.h
+++ b/include/dlfcn.h
@@ -39,10 +39,11 @@ extern char **__libc_argv attribute_hidden;
       __libgcc_s_init because unwinding is already in progress, so libgcc_s.so
       has already been loaded if its unwinder is used (Bug 22636).
    2. It allows us to provide robust fallback code at dlopen time for
-      incorrectly configured systems that mix old libnss_* modules with newly
-      installed libraries e.g. old libnss_nis.so.2 with new libnsl.so.1.  Using
-      RTLD_LAZY here causes a failure at the time the symbol is called and at
-      that point it is much harder to safely return an error (Bug 22766).
+      incorrectly configured systems that mix old libnss_* modules
+      with newly installed libraries e.g. old libnss_dns.so.2 with new
+      libresolv.so.2.  Using RTLD_LAZY here causes a failure at the
+      time the symbol is called and at that point it is much harder to
+      safely return an error (Bug 22766).
 
    The use of RTLD_NOW also impacts gconv module loading, backtracing
    (where the unwinder form libgcc_s.so is used), and IDNA functions