glibc/nss
Siddhesh Poyarekar 3d04f5db20 Set EAI_SYSTEM only when h_errno is NETDB_INTERNAL
Fixes BZ #15339.

NSS_STATUS_UNAVAIL may mean that a necessary input resource is not
available.  This could occur in a number of cases including when the
network is down, system runs out of file descriptors, etc.  The
correct differentiator in such a case is the h_errno, which gives the
nature of failure.  In case of failures other than a simple 'not
found', we set h_errno as NETDB_INTERNAL and let errno be the
identifier for the exact error.
2013-05-21 21:54:41 +05:30
..
nss_db Add #include <stdint.h> for uint[32|64]_t usage (except installed headers). 2013-05-16 11:32:54 -05:00
nss_files Add #include <stdint.h> for uint[32|64]_t usage (except installed headers). 2013-05-16 11:32:54 -05:00
alias-lookup.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
bug-erange.c Update. 2002-09-29 18:25:48 +00:00
databases.def Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
db-Makefile Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
Depend Update. 2000-01-02 04:20:21 +00:00
digits_dots.c Fix parsing of numeric hosts in gethostbyname_r 2013-05-21 12:26:33 +02:00
ethers-lookup.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
function.def Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
getent.c Fix getent to call endspent rather than endpwent for shadow database. 2013-04-22 10:44:31 -07:00
getnssent_r.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
getnssent.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
getXXbyYY_r.c Set EAI_SYSTEM only when h_errno is NETDB_INTERNAL 2013-05-21 21:54:41 +05:30
getXXbyYY.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
getXXent_r.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
getXXent.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
grp-lookup.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
hosts-lookup.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
key-lookup.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
makedb.c Add #include <stdint.h> for uint[32|64]_t usage (except installed headers). 2013-05-16 11:32:54 -05:00
Makefile Fix parsing of numeric hosts in gethostbyname_r 2013-05-21 12:26:33 +02:00
netgrp-lookup.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
network-lookup.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
nss_test1.c Add self-contained test for NSS. 2010-08-11 07:25:02 -07:00
nss.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
nsswitch.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
nsswitch.conf More configurability for secondary group lookup 2011-05-10 00:36:29 -04:00
nsswitch.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
proto-lookup.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
pwd-lookup.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
rpc-lookup.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
service-lookup.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sgrp-lookup.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
spwd-lookup.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
test-digits-dots.c Fix parsing of numeric hosts in gethostbyname_r 2013-05-21 12:26:33 +02:00
test-netdb.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
tst-nss-static.c 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com> 2012-04-06 13:49:35 -07:00
tst-nss-test1.c Add self-contained test for NSS. 2010-08-11 07:25:02 -07:00
Versions Implement caching of nscd 2011-10-07 10:06:31 -04:00
XXX-lookup.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00