]> git.ipfire.org Git - thirdparty/glibc.git/commit
nss: Turn __nss_database_lookup into a compatibility symbol
authorFlorian Weimer <fweimer@redhat.com>
Wed, 15 May 2019 11:51:35 +0000 (13:51 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 15 May 2019 13:07:49 +0000 (15:07 +0200)
commita9368c34d70cef91ca59b09941f496df11d6b146
tree238aa331f31e567299bcc80b49de7f4f8707a1a3
parentd50f09181eca10a91fd9035bb90711b265770dc9
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.
15 files changed:
ChangeLog
grp/initgroups.c
nscd/aicache.c
nscd/initgrcache.c
nscd/netgroupcache.c
nss/Versions
nss/XXX-lookup.c
nss/compat-lookup.c
nss/nss_compat/compat-grp.c
nss/nss_compat/compat-initgroups.c
nss/nss_compat/compat-pwd.c
nss/nss_compat/compat-spwd.c
nss/nsswitch.c
nss/nsswitch.h
sysdeps/posix/getaddrinfo.c