glibc/sysdeps/posix
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
..
alarm.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
clock_getres.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
clock.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
closedir.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
ctermid.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
cuserid.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dirfd.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dirstream.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dup2.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dup.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
euidaccess.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
fdopendir.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
flock.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
fpathconf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
gai_strerror-strs.h * sysdeps/posix/gai_strerror.c: Complete rewrite. Avoid relocations. 2005-12-20 17:53:00 +00:00
gai_strerror.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
getaddrinfo.c Set EAI_SYSTEM only when h_errno is NETDB_INTERNAL 2013-05-21 21:54:41 +05:30
getcwd.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
getdtsz.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
gethostname.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
getpagesize.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
gettimeofday.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
isatty.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
isfdtype.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
killpg.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
libc_fatal.c Never call syslog in __libc_message. 2013-03-28 10:38:37 -07:00
Makefile 2006-02-27 Roland McGrath <roland@redhat.com> 2006-02-28 07:05:34 +00:00
mkfifo.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
mkfifoat.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
nice.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
open64.c Remove bp-sym.h and BP_SYM uses from C code. 2013-02-14 13:12:02 +00:00
opendir.c Add missing #include in sysdeps/posix/opendir.c. 2013-05-01 09:27:09 -07:00
pathconf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
pause.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
posix_fallocate64.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
posix_fallocate.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
pread64.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
pread.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
preadv64.c * misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64. 2009-04-03 19:57:16 +00:00
preadv.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
profil.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
pwrite64.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
pwrite.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
pwritev64.c * misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64. 2009-04-03 19:57:16 +00:00
pwritev.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
raise.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
readdir_r.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
readdir.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
readv.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
remove.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
rename.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
rewinddir.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
seekdir.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
shm_open.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
shm_unlink.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sigblock.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sigignore.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sigintr.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
signal.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sigpause.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sigset.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sigsetmask.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sigsuspend.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sigvec.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sigwait.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sleep.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
spawni.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sprofil.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sysconf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
system.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sysv_signal.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
telldir.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
tempname.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
time.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
timespec_get.c Fix name space use in last commit. 2013-04-23 15:57:25 -07:00
truncate.c Clean up POSIX.1 implementation of truncate. 2013-05-06 14:56:13 -07:00
ttyname_r.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
ttyname.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
ulimit.c ulimit: include <limits.h> 2013-01-23 17:27:45 +01:00
utime.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
utimes.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
wait3.c Fix copyright notice corruption from update-copyright bug. 2013-01-02 19:28:45 +00:00
wait.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
waitid.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
writev.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00