glibc/grp
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
..
tst-initgroups1.root/etc nsswitch: handle missing actions properly 2020-12-14 12:19:43 -05:00
tst-initgroups2.root/etc nsswitch: handle missing actions properly 2020-12-14 12:19:43 -05:00
compat-initgroups.c nsswitch: use new internal API (callers) 2020-12-04 17:16:32 -05:00
fgetgrent.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
fgetgrent_r.c grp: Implement fgetgrent_r using __nss_fgetent_r 2020-07-21 07:34:15 +02:00
getgrent.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getgrent_r.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getgrgid.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getgrgid_r.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getgrnam.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getgrnam_r.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
grp-merge.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
grp-merge.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
grp.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
initgroups.c nsswitch: handle missing actions properly 2020-12-14 12:19:43 -05:00
Makefile nsswitch: handle missing actions properly 2020-12-14 12:19:43 -05:00
putgrent.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
setgroups.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
testgrp.c * malloc/memusagestat.c (main): Use return instead of exit to 2000-12-31 10:52:32 +00:00
tst-initgroups1.c nsswitch: handle missing actions properly 2020-12-14 12:19:43 -05:00
tst-initgroups2.c nsswitch: handle missing actions properly 2020-12-14 12:19:43 -05:00
tst-putgrent.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst_fgetgrent.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst_fgetgrent.sh Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Versions NSS: Implement group merging support. 2016-04-29 22:18:21 -04:00