<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/include/netdb.h, branch release/7.1.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F7.1.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F7.1.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2008-12-31T22:57:14Z</updated>
<entry>
<title>Copy releng/7.1 to release/7.1.0 for the 7.1-RELEASE.</title>
<updated>2008-12-31T22:57:14Z</updated>
<author>
<name>Ken Smith</name>
<email>kensmith@FreeBSD.org</email>
</author>
<published>2008-12-31T22:57:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8d4eb975d2e49f56d057a19aac09bcb92b3e71f7'/>
<id>urn:sha1:8d4eb975d2e49f56d057a19aac09bcb92b3e71f7</id>
<content type='text'>
Approved by:	re (implicit)

This commit was manufactured to restore the state of the 7.1-RELEASE image.
</content>
</entry>
<entry>
<title>Fix gethostbyaddr() prototype to conform to IEEE Std 1003.1 on 64 bit</title>
<updated>2006-05-21T11:27:28Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2006-05-21T11:27:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1bdf356bd3bdaffc0a7fe40838001a662d7d3e26'/>
<id>urn:sha1:1bdf356bd3bdaffc0a7fe40838001a662d7d3e26</id>
<content type='text'>
arch.

X-MFC after:	never
</content>
</entry>
<entry>
<title>Return EAI_OVERFLOW instead of EAI_MEMORY when the supplied buffer is</title>
<updated>2006-05-21T11:22:31Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2006-05-21T11:22:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=734aa10414ca862b145afe3a9448e5c70ded101f'/>
<id>urn:sha1:734aa10414ca862b145afe3a9448e5c70ded101f</id>
<content type='text'>
too short.  This conforms to RFC3493, POSIX and XPG6.

Obtained from:	NetBSD
</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>Remove padding for ABI compatibility of ai_addrlen member</title>
<updated>2005-07-22T18:21:28Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2005-07-22T18:21:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=85a71a15c8ef3d1051e5610f4392a1e9357f0af0'/>
<id>urn:sha1:85a71a15c8ef3d1051e5610f4392a1e9357f0af0</id>
<content type='text'>
from struct addrinfo.  This change break ABI compatibility
on 64 bit arch.
</content>
</entry>
<entry>
<title>- Remove padding for ABI compatibility of n_net member from struct</title>
<updated>2005-06-03T03:32:06Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2005-06-03T03:32:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ad0fab44e2a20be7dd0f2fdc6e1aba86a530443a'/>
<id>urn:sha1:ad0fab44e2a20be7dd0f2fdc6e1aba86a530443a</id>
<content type='text'>
  netent.
- Change 1st argument of getnetbyaddr() to an uint32_t on 64 bit
  arch as well to confirm to POSIX-2001.

These changes break ABI compatibility on 64 bit arch.
There is similar padding issue for ai_addrlen of struct addrinfo.
However, it is leaved as is for now.

Discussed on:	arch@, standards@ and current@
X-MFC after:	never
</content>
</entry>
<entry>
<title>disable defining NI_WITHSCOPEID.  It was obsoleted, and was exist</title>
<updated>2005-05-27T19:02:12Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2005-05-27T19:02:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2e631cd2fa7b21a513ae6757f160550a7969644f'/>
<id>urn:sha1:2e631cd2fa7b21a513ae6757f160550a7969644f</id>
<content type='text'>
only for backward compatibility since 5.2-RELEASE.
</content>
</entry>
<entry>
<title>- The ai_addrlen of a struct addrinfo used to be a size_t, per</title>
<updated>2005-05-15T20:15:15Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2005-05-15T20:15:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=036ae3dd790971f07f3cf41e19e087973d0de986'/>
<id>urn:sha1:036ae3dd790971f07f3cf41e19e087973d0de986</id>
<content type='text'>
  RFC 2553.  In XNS5.2, and subsequently in POSIX-2001 and RFC
  3493, it was changed to a socklen_t.  And, the n_net of a
  struct netent used to be an unsigned long integer.  In XNS5,
  and subsequently in POSIX-2001, it was changed to an uint32_t.
  To accomodate for this while preserving ABI compatibility with
  the old interface, we need to prepend or append 32 bits of
  padding, depending on the (LP64) architecture's endianness.
- Correct 1st argument of getnetbyaddr() to uint32_t on 32
  bit arch.  Stay as is on 64 bit arch for ABI backward
  compatibility for now.

Reviewed by:	das, peter
MFC after:	2 weeks
</content>
</entry>
</feed>
