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 nss: Add __nss_fgetent_r 2020-07-21 07:33:50 +02:00
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
alias-lookup.c
bug17079.c
bug-erange.c
compat-lookup.c nsswitch: use new internal API (callers) 2020-12-04 17:16:32 -05:00
databases.def
db-Makefile
Depend
digits_dots.c
ethers-lookup.c
function.def nss: Introduce <nss_module.h> 2020-12-04 17:15:05 -05:00
getent.c
getnssent_r.c nsswitch: use new internal API (callers) 2020-12-04 17:16:32 -05:00
getnssent.c
getXXbyYY_r.c nsswitch: use new internal API (callers) 2020-12-04 17:16:32 -05:00
getXXbyYY.c
getXXent_r.c nsswitch: use new internal API (callers) 2020-12-04 17:16:32 -05:00
getXXent.c
grp-lookup.c Remove --enable-obsolete-nsl configure flag 2020-07-08 17:25:57 +02:00
hosts-lookup.c
key-lookup.c
makedb.c Disable warnings due to deprecated libselinux symbols used by nss and nscd 2020-07-23 12:20:38 +02:00
Makefile nsswitch: use new internal API (core) 2020-12-04 17:15:53 -05:00
netgrp-lookup.c
network-lookup.c
nss_action_parse.c nsswitch: use new internal API (core) 2020-12-04 17:15:53 -05:00
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_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 Remove tls.h inclusion from internal errno.h 2020-11-13 12:59:19 -03:00
nss_files_fopen.c nss_files: Consolidate file opening in __nss_files_fopen 2020-07-21 07:32:46 +02:00
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: Add __nss_fgetent_r 2020-07-21 07:33:50 +02:00
nss_readline.c nss: Add __nss_fgetent_r 2020-07-21 07:33:50 +02:00
nss_test1.c nsswitch: user new internal API (tests) 2020-12-04 17:16:01 -05:00
nss_test2.c
nss_test.h nsswitch: user new internal API (tests) 2020-12-04 17:16:01 -05:00
nss_test.ver
nss.h
nsswitch.c nsswitch: handle missing actions properly 2020-12-14 12:19:43 -05:00
nsswitch.conf Remove --enable-obsolete-nsl configure flag 2020-07-08 17:25:57 +02:00
nsswitch.h nsswitch: use new internal API (core) 2020-12-04 17:15:53 -05:00
proto-lookup.c
pwd-lookup.c Remove --enable-obsolete-nsl configure flag 2020-07-08 17:25:57 +02:00
rewrite_field.c
rpc-lookup.c
service-lookup.c
sgrp-lookup.c
spwd-lookup.c Remove --enable-obsolete-nsl configure flag 2020-07-08 17:25:57 +02:00
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
Versions nss: Add __nss_fgetent_r 2020-07-21 07:33:50 +02:00
XXX-lookup.c nsswitch: use new internal API (callers) 2020-12-04 17:16:32 -05:00