glibc/nscd
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
..
aicache.c Consolidate code to initialize nscd dataset header 2014-04-30 11:57:09 +05:30
cache.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
connections.c nscd: Improved support for tracking startup failure in nscd service (BZ #16639) 2014-03-03 23:18:31 +05:30
dbg_log.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
dbg_log.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Depend Don't mention linuxthreads in Depend files. 2014-05-21 16:53:11 +00:00
gai.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getgrgid_r.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getgrnam_r.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
gethstbyad_r.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
gethstbynm3_r.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getpwnam_r.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getpwuid_r.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getsrvbynm_r.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getsrvbypt_r.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
grpcache.c Consolidate code to initialize nscd dataset header 2014-04-30 11:57:09 +05:30
hstcache.c Consolidate code to initialize nscd dataset header 2014-04-30 11:57:09 +05:30
initgrcache.c Consolidate code to initialize nscd dataset header 2014-04-30 11:57:09 +05:30
Makefile Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
mem.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
netgroupcache.c Use NSS_STATUS_TRYAGAIN to indicate insufficient buffer (BZ #16878) 2014-05-26 11:40:08 +05:30
nscd_conf.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
nscd_getai.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
nscd_getgr_r.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
nscd_gethst_r.c Define _STRING_ARCH_unaligned unconditionally 2014-04-09 15:05:36 -05:00
nscd_getpw_r.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
nscd_getserv_r.c Define _STRING_ARCH_unaligned unconditionally 2014-04-09 15:05:36 -05:00
nscd_helper.c Define _STRING_ARCH_unaligned unconditionally 2014-04-09 15:05:36 -05:00
nscd_initgroups.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
nscd_netgroup.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
nscd_proto.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
nscd_setup_thread.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
nscd_stat.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
nscd-client.h Fix implicit declaration 2014-05-01 22:02:27 +02:00
nscd.c nscd: Improved support for tracking startup failure in nscd service (BZ #16639) 2014-03-03 23:18:31 +05:30
nscd.conf Implement caching of nscd 2011-10-07 10:06:31 -04:00
nscd.h nscd: Improved support for tracking startup failure in nscd service (BZ #16639) 2014-03-03 23:18:31 +05:30
nscd.init
nscd.service nscd: also invalidate netgroup cache on reload 2014-03-19 14:45:10 +01:00
nscd.tmpfiles Add systemd unit file for nscd 2013-12-16 11:22:01 +10:00
pwdcache.c Consolidate code to initialize nscd dataset header 2014-04-30 11:57:09 +05:30
res_hconf.c
selinux.c Fix typo in nscd/selinux.c 2014-05-07 14:09:24 +02:00
selinux.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
servicescache.c Consolidate code to initialize nscd dataset header 2014-04-30 11:57:09 +05:30