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
dbg_log.h
Depend Don't mention linuxthreads in Depend files. 2014-05-21 16:53:11 +00:00
gai.c
getgrgid_r.c
getgrnam_r.c
gethstbyad_r.c
gethstbynm3_r.c
getpwnam_r.c
getpwuid_r.c
getsrvbynm_r.c
getsrvbypt_r.c
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
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
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
nscd_setup_thread.c
nscd_stat.c
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
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
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
servicescache.c Consolidate code to initialize nscd dataset header 2014-04-30 11:57:09 +05:30