1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

Move nss_compat from nis to nss subdir and install it unconditionally

This has been tested that local lookup still works with and
without an installed libnss_nis, and that NIS lookup works when
libnss_nis is available.
This commit is contained in:
Andreas Schwab
2017-10-02 14:30:46 +02:00
parent 86c27ade1e
commit 64d1e08ea8
11 changed files with 142 additions and 46 deletions

View File

@@ -162,3 +162,14 @@ libnss_db {
_nss_db_init;
}
}
libnss_compat {
GLIBC_PRIVATE {
_nss_compat_endgrent; _nss_compat_endpwent; _nss_compat_endspent;
_nss_compat_getgrent_r; _nss_compat_getgrgid_r; _nss_compat_getgrnam_r;
_nss_compat_getpwent_r; _nss_compat_getpwnam_r; _nss_compat_getpwuid_r;
_nss_compat_getspent_r; _nss_compat_getspnam_r;
_nss_compat_setgrent; _nss_compat_setpwent; _nss_compat_setspent;
_nss_compat_initgroups_dyn;
}
}