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_db: Use NSS_DECLARE_MODULE_FUNCTIONS 2020-02-13 09:14:51 +01:00
nss_files nss: Add __nss_fgetent_r 2020-07-21 07:33:50 +02:00
tst-nss-db-endgrent.root/etc nss_db: fix endent wrt NULL mappings [BZ #24695] [BZ #24696] 2019-07-10 14:51:18 -04:00
tst-nss-db-endpwent.root nss_db: fix endent wrt NULL mappings [BZ #24695] [BZ #24696] 2019-07-10 14:51:18 -04:00
tst-nss-files-hosts-long.root/etc nss: tst-nss-files-hosts-long: Add host.conf [BZ #21915] 2019-02-21 16:02:29 -05:00
tst-nss-test3.root Add test-in-container infrastructure. 2018-08-22 21:20:37 -04:00
tst-reload1.root nsswitch: user new internal API (tests) 2020-12-04 17:16:01 -05:00
alias-lookup.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
bug17079.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
bug-erange.c
compat-lookup.c nsswitch: use new internal API (callers) 2020-12-04 17:16:32 -05:00
databases.def Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
db-Makefile Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Depend
digits_dots.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ethers-lookup.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
function.def nss: Introduce <nss_module.h> 2020-12-04 17:15:05 -05:00
getent.c Update copyright dates not handled by scripts/update-copyrights. 2020-01-01 00:21:22 +00:00
getnssent_r.c nsswitch: use new internal API (callers) 2020-12-04 17:16:32 -05:00
getnssent.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getXXbyYY_r.c nsswitch: use new internal API (callers) 2020-12-04 17:16:32 -05:00
getXXbyYY.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getXXent_r.c nsswitch: use new internal API (callers) 2020-12-04 17:16:32 -05:00
getXXent.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
grp-lookup.c Remove --enable-obsolete-nsl configure flag 2020-07-08 17:25:57 +02:00
hosts-lookup.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
key-lookup.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
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 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
network-lookup.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
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 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
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 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
nss_test.h nsswitch: user new internal API (tests) 2020-12-04 17:16:01 -05:00
nss_test.ver Extend NSS test suite 2017-07-17 15:52:44 -04:00
nss.h nss: Add function types and NSS_DECLARE_MODULE_FUNCTIONS macro to <nss.h> 2020-02-13 09:14:40 +01:00
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 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
pwd-lookup.c Remove --enable-obsolete-nsl configure flag 2020-07-08 17:25:57 +02:00
rewrite_field.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
rpc-lookup.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
service-lookup.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sgrp-lookup.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
spwd-lookup.c Remove --enable-obsolete-nsl configure flag 2020-07-08 17:25:57 +02:00
test-digits-dots.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
test-netdb.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-cancel-getpwuid_r.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-field.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-nss-db-endgrent.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-nss-db-endpwent.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-nss-files-alias-leak.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-nss-files-alias-truncated.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-nss-files-hosts-erange.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-nss-files-hosts-getent.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-nss-files-hosts-long.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-nss-files-hosts-multi.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-nss-getpwent.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-nss-static.c Update nss tests to new skeleton 2017-08-17 18:00:51 -04:00
tst-nss-test1.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-nss-test2.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-nss-test3.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-nss-test4.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-nss-test5.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-reload1.c nsswitch: user new internal API (tests) 2020-12-04 17:16:01 -05:00
valid_field.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
valid_list_field.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
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