glibc/nss
DJ Delorie d2e929a907 nsswitch: handle missing actions properly
Some internal functions need to know if a database has a nonzero
list of actions; success getting the database does not guarantee
that.  Add checks for such as needed.

Skip the ":" in each nsswitch.conf line so as not to add a dummy
action libnss_:.so

See also https://bugzilla.redhat.com/show_bug.cgi?id=1906066

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
2020-12-14 12:19:43 -05:00
..
nss_compat nsswitch: use new internal API (callers) 2020-12-04 17:16:32 -05:00
nss_db
nss_files
tst-nss-db-endgrent.root/etc
tst-nss-db-endpwent.root
tst-nss-files-hosts-long.root/etc
tst-nss-test3.root
tst-reload1.root nsswitch: user new internal API (tests) 2020-12-04 17:16:01 -05:00
Depend
Makefile nsswitch: use new internal API (core) 2020-12-04 17:15:53 -05:00
Versions
XXX-lookup.c nsswitch: use new internal API (callers) 2020-12-04 17:16:32 -05:00
alias-lookup.c
bug-erange.c
bug17079.c
compat-lookup.c nsswitch: use new internal API (callers) 2020-12-04 17:16:32 -05:00
databases.def
db-Makefile
digits_dots.c
ethers-lookup.c
function.def nss: Introduce <nss_module.h> 2020-12-04 17:15:05 -05:00
getXXbyYY.c
getXXbyYY_r.c nsswitch: use new internal API (callers) 2020-12-04 17:16:32 -05:00
getXXent.c
getXXent_r.c nsswitch: use new internal API (callers) 2020-12-04 17:16:32 -05:00
getent.c
getnssent.c
getnssent_r.c nsswitch: use new internal API (callers) 2020-12-04 17:16:32 -05:00
grp-lookup.c
hosts-lookup.c
key-lookup.c
makedb.c
netgrp-lookup.c
network-lookup.c
nss.h
nss_action.c nsswitch: use new internal API (core) 2020-12-04 17:15:53 -05:00
nss_action.h <nss_action.h>: New abstraction for combining NSS modules and NSS actions 2020-12-04 17:15:29 -05:00
nss_action_parse.c nsswitch: use new internal API (core) 2020-12-04 17:15:53 -05:00
nss_database.c nsswitch: handle missing actions properly 2020-12-14 12:19:43 -05:00
nss_database.h nss: Implement <nss_database.h> 2020-12-04 17:15:44 -05:00
nss_fgetent_r.c
nss_files_fopen.c
nss_hash.c
nss_module.c nsswitch: use new internal API (core) 2020-12-04 17:15:53 -05:00
nss_module.h nss: Introduce <nss_module.h> 2020-12-04 17:15:05 -05:00
nss_parse_line_result.c
nss_readline.c
nss_test.h nsswitch: user new internal API (tests) 2020-12-04 17:16:01 -05:00
nss_test.ver
nss_test1.c nsswitch: user new internal API (tests) 2020-12-04 17:16:01 -05:00
nss_test2.c
nsswitch.c nsswitch: handle missing actions properly 2020-12-14 12:19:43 -05:00
nsswitch.conf
nsswitch.h nsswitch: use new internal API (core) 2020-12-04 17:15:53 -05:00
proto-lookup.c
pwd-lookup.c
rewrite_field.c
rpc-lookup.c
service-lookup.c
sgrp-lookup.c
spwd-lookup.c
test-digits-dots.c
test-netdb.c
tst-cancel-getpwuid_r.c
tst-field.c
tst-nss-db-endgrent.c
tst-nss-db-endpwent.c
tst-nss-files-alias-leak.c
tst-nss-files-alias-truncated.c
tst-nss-files-hosts-erange.c
tst-nss-files-hosts-getent.c
tst-nss-files-hosts-long.c
tst-nss-files-hosts-multi.c
tst-nss-getpwent.c
tst-nss-static.c
tst-nss-test1.c
tst-nss-test2.c
tst-nss-test3.c
tst-nss-test4.c
tst-nss-test5.c
tst-reload1.c nsswitch: user new internal API (tests) 2020-12-04 17:16:01 -05:00
valid_field.c
valid_list_field.c