about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-05-15 13:51:35 +0200
committerFlorian Weimer <fweimer@redhat.com>2019-05-15 15:07:49 +0200
commita9368c34d70cef91ca59b09941f496df11d6b146 (patch)
tree238aa331f31e567299bcc80b49de7f4f8707a1a3 /ChangeLog
parentd50f09181eca10a91fd9035bb90711b265770dc9 (diff)
downloadglibc-a9368c34d70cef91ca59b09941f496df11d6b146.tar.gz
glibc-a9368c34d70cef91ca59b09941f496df11d6b146.tar.xz
glibc-a9368c34d70cef91ca59b09941f496df11d6b146.zip
nss: Turn __nss_database_lookup into a compatibility symbol
The function uses the internal service_user type, so it is not
really usable from the outside of glibc.  Rename the function
to __nss_database_lookup2 for internal use, and change
__nss_database_lookup to always indicate failure to the caller.

__nss_next already was a compatibility symbol.  The new
implementation always fails and no longer calls __nss_next2.

unscd, the alternative nscd implementation, does not use
__nss_database_lookup, so it is not affected by this change.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog27
1 files changed, 27 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index dc4a814c3f..c01a2fdc51 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,30 @@
+2019-05-15  Florian Weimer  <fweimer@redhat.com>
+
+	nss: Turn __nss_database_lookup into a compatibility symbol.
+	* nss/nsswitch.h (__nss_database_lookup2): Renamed from
+	__nss_database_lookup.
+	* nss/nsswitch.c (__nss_database_lookup2): Likewise.
+	(nss_load_all_libraries): Call __nss_database_lookup2 instead of
+	__nss_database_lookup.
+	(__nss_next): Move to …
+	* nss/compat-lookup.c (nss_next): … here.  Change it to fail
+	unconditionally.
+	(__nss_database_lookup): New function.
+	* nss/Versions (GLIBC_2.0): Update comment.
+	(GLIBC_PRIVATE): Export __nss_database_lookup2.
+	* grp/initgroups.c (internal_getgrouplist): Call
+	__nss_database_lookup2 instead of __nss_database_lookup.
+	* nscd/aicache.c (addhstaiX): Likewise.
+	* nscd/initgrcache.c (addinitgroupsX): Likewise.
+	* nscd/netgroupcache.c (addgetnetgrentX): Likewise.
+	* nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
+	* nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
+	* nss/nss_compat/compat-initgroups.c (init_nss_interface):
+	Likewise.
+	* nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
+	* nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
+	* sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
+
 2019-05-15  Alexandra Hajkova  <ahajkova@redhat.com>
 	* support/support.h (support_install_rootsbindir): New variable.
 	* support/support_paths.c: Likewise.