glibc/nss/nss_files
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
..
files-alias.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
files-ethers.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
files-grp.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
files-have_o_cloexec.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
files-hosts.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
files-init.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
files-initgroups.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
files-key.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
files-netgrp.c Use NSS_STATUS_TRYAGAIN to indicate insufficient buffer (BZ #16878) 2014-05-26 11:40:08 +05:30
files-network.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
files-parse.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
files-proto.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
files-pwd.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
files-rpc.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
files-service.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
files-sgrp.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
files-spwd.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
files-XXX.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00