about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2013-05-21 21:54:41 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-05-21 21:54:41 +0530
commit3d04f5db20c8f0d1ba3881b5f5373586a18cf188 (patch)
tree9f49a788186914f0061f340e938ad21d293f7762 /ChangeLog
parentd5dd6189d506068ed11c8bfa1e1e9bffde04decd (diff)
downloadglibc-3d04f5db20c8f0d1ba3881b5f5373586a18cf188.tar.gz
glibc-3d04f5db20c8f0d1ba3881b5f5373586a18cf188.tar.xz
glibc-3d04f5db20c8f0d1ba3881b5f5373586a18cf188.zip
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 61377cc3bf..a55141331b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+	[BZ #15339]
+	* nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
+	when no services were used.
+	* sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
+	Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
+
 2013-05-21  Andreas Schwab  <schwab@suse.de>
 
 	[BZ #15014]