<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/lib/libc/net/gethostbynis.c, branch release/9.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F9.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F9.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2010-08-13T06:39:54Z</updated>
<entry>
<title>- When there is no room for returning the result, nss backend</title>
<updated>2010-08-13T06:39:54Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2010-08-13T06:39:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=225edeac51a6c52047ce47cd3121a3adcf83434c'/>
<id>urn:sha1:225edeac51a6c52047ce47cd3121a3adcf83434c</id>
<content type='text'>
  have to return ERANGE and terminate with NS_RETURN.
- When gethostbyname_r(3) and the friends end with an error,
  set errno to the value nss backend returns, and return errno
  value.

PR:		kern/131623
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Fix gethostbyaddr() prototype to conform to IEEE Std 1003.1:</title>
<updated>2006-05-12T15:37:23Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2006-05-12T15:37:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3da59cd0072b20be9464c3f0afe83579fc83909c'/>
<id>urn:sha1:3da59cd0072b20be9464c3f0afe83579fc83909c</id>
<content type='text'>
  http://www.opengroup.org/onlinepubs/009695399/functions/gethostbyaddr.html

gethostbyaddr_r() is changed as well.
It breaks ABI backward compatibility on 64 bit arch.  So, we fix it
on 32 bit arch only for now.

Reported by:	Rostislav Krasny &lt;rosti.bsd@gmail.com&gt;
</content>
</entry>
<entry>
<title>- make reentrant version of netdb functions glibc style API, and</title>
<updated>2006-04-15T16:20:27Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2006-04-15T16:20:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d3ac2b30d40b8257bbf8680487708e05e3de8ea7'/>
<id>urn:sha1:d3ac2b30d40b8257bbf8680487708e05e3de8ea7</id>
<content type='text'>
  expose them to outside of libc.
- make netdb functions NSS friendly.

Reviewed by:	arch@ and current@ (no objection)
</content>
</entry>
<entry>
<title>Update the resolver in libc to BIND9's one.</title>
<updated>2006-03-21T16:11:11Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2006-03-21T16:11:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5342d17f09a8eec0477b117bc74a90921ac2f03e'/>
<id>urn:sha1:5342d17f09a8eec0477b117bc74a90921ac2f03e</id>
<content type='text'>
Since, res_sendsigned(3) and the friends use MD5 functions, it is
hard to include them without having MD5 functions in libc.  So,
res_sendsigned(3) is not merged into libc.

Since, res_update(3) in BIND9 is not binary compatible with our
res_update(3), res_update(3) is leaved as is, except some
necessary modifications.
The res_update(3) and the friends are not essential part of the
resolver.  They are not defined in resolv.h but defined in
res_update.h separately in BIND9.  Further, they are not called from
our tree.  So, I hide them from our resolv.h, but leave them only
for binary backward compatibility (perhaps, no one calls them).

Since, struct __res_state_ext is not exposed in BIND9, I hide it
from our resolv.h.  And, global variable _res_ext is removed.  It
breaks binary backward compatibility.  But, since it is not used from
outside of our libc, I think it is safe.

Reviewed by:	arch@ (no objection)
</content>
</entry>
<entry>
<title>don't see RES_USE_INET6 when called from getipnodeby*().</title>
<updated>2005-05-01T07:39:45Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2005-05-01T07:39:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8592d23a9f646e02c8efe7e1922483627fcef5dd'/>
<id>urn:sha1:8592d23a9f646e02c8efe7e1922483627fcef5dd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>oops, gethostbyaddr(3) must return h_addr as an IPv4-mapped</title>
<updated>2005-04-30T20:07:01Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2005-04-30T20:07:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e84892eb74b92e04c93beb0755687760351864b8'/>
<id>urn:sha1:e84892eb74b92e04c93beb0755687760351864b8</id>
<content type='text'>
IPv6 address when RES_USE_INET6 was set, according to RFC 2133
section 6.2.
</content>
</entry>
<entry>
<title>handling RES_USE_INET6 better.</title>
<updated>2005-04-30T19:28:31Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2005-04-30T19:28:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6964622dd06c583e7242d0cc4d14cbfceb83bbb0'/>
<id>urn:sha1:6964622dd06c583e7242d0cc4d14cbfceb83bbb0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>_gethostbynisname() didn't support RES_USE_INET6.</title>
<updated>2005-04-30T18:37:35Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2005-04-30T18:37:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e692b6186ae0989cffa7314985cdf967d2f78dd6'/>
<id>urn:sha1:e692b6186ae0989cffa7314985cdf967d2f78dd6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>NETDB_INTERNAL is not fit, here.  return NO_RECOVERY for h_errno.</title>
<updated>2005-04-29T17:36:54Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2005-04-29T17:36:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=86726f325beb710e68a85e8d41aad3b11cc5baee'/>
<id>urn:sha1:86726f325beb710e68a85e8d41aad3b11cc5baee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>we cannot use inet_ntoa(3), here.  so, use inet_ntop(3), instead.</title>
<updated>2005-04-29T12:01:36Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2005-04-29T12:01:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0d389e72128de70e70e58c1a16b150fb12c819ad'/>
<id>urn:sha1:0d389e72128de70e70e58c1a16b150fb12c819ad</id>
<content type='text'>
</content>
</entry>
</feed>
