glibc/nss
Siddhesh Poyarekar c3ec475c5d Use NSS_STATUS_TRYAGAIN to indicate insufficient buffer (BZ #16878)
The netgroups nss modules in the glibc tree use NSS_STATUS_UNAVAIL
(with errno as ERANGE) when the supplied buffer does not have
sufficient space for the result.  This is wrong, because the canonical
way to indicate insufficient buffer is to set the errno to ERANGE and
the status to NSS_STATUS_TRYAGAIN, as is used by all other modules.

This fixes nscd behaviour when the nss_ldap module returns
NSS_STATUS_TRYAGAIN to indicate that a netgroup entry is too long to
fit into the supplied buffer.
2014-05-26 11:40:08 +05:30
..
nss_db
nss_files Use NSS_STATUS_TRYAGAIN to indicate insufficient buffer (BZ #16878) 2014-05-26 11:40:08 +05:30
alias-lookup.c
bug-erange.c
databases.def
db-Makefile
Depend
digits_dots.c
ethers-lookup.c
function.def
getent.c
getnssent_r.c
getnssent.c
getXXbyYY_r.c
getXXbyYY.c
getXXent_r.c
getXXent.c
grp-lookup.c
hosts-lookup.c
key-lookup.c
makedb.c
Makefile Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
netgrp-lookup.c
network-lookup.c
nss_test1.c
nss.h
nsswitch.c
nsswitch.conf
nsswitch.h
proto-lookup.c
pwd-lookup.c
rpc-lookup.c
service-lookup.c
sgrp-lookup.c
spwd-lookup.c
test-digits-dots.c
test-netdb.c
tst-nss-static.c
tst-nss-test1.c
Versions
XXX-lookup.c