<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/net/getaddrinfo.c, branch release/6.0.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2005-11-03T00:35:26+00:00</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2005-11-03T00:35:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3640cb54210edbb7edbf1b12ef0127ecfcea967d'/>
<id>3640cb54210edbb7edbf1b12ef0127ecfcea967d</id>
<content type='text'>
'RELENG_6_0_0_RELEASE'.

This commit was manufactured to restore the state of the 6.0-RELEASE image.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'RELENG_6_0_0_RELEASE'.

This commit was manufactured to restore the state of the 6.0-RELEASE image.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC: Remove padding for ABI compatibility of ai_addrlen member</title>
<updated>2005-07-22T20:17:30+00:00</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2005-07-22T20:17:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=180e5a253760cf6141db4bb847f1287b8782fe91'/>
<id>180e5a253760cf6141db4bb847f1287b8782fe91</id>
<content type='text'>
from struct addrinfo.  This change break ABI compatibility on
64 bit arch.

	include/netdb.h:		1.39
	lib/libc/net/getaddrinfo.c:	1.70

Approved by:	re (kensmith)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
from struct addrinfo.  This change break ABI compatibility on
64 bit arch.

	include/netdb.h:		1.39
	lib/libc/net/getaddrinfo.c:	1.70

Approved by:	re (kensmith)
</pre>
</div>
</content>
</entry>
<entry>
<title>- The ai_addrlen of a struct addrinfo used to be a size_t, per</title>
<updated>2005-05-15T20:15:15+00:00</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2005-05-15T20:15:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=036ae3dd790971f07f3cf41e19e087973d0de986'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  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
</pre>
</div>
</content>
</entry>
<entry>
<title>Submitted by:	Jinmei Tatuya, Hajimu Umemoto</title>
<updated>2005-05-14T19:43:10+00:00</updated>
<author>
<name>George V. Neville-Neil</name>
<email>gnn@FreeBSD.org</email>
</author>
<published>2005-05-14T19:43:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fd57e549e0b1ba3e6294d6b6fabfd2d3cac7d4da'/>
<id>fd57e549e0b1ba3e6294d6b6fabfd2d3cac7d4da</id>
<content type='text'>
Reviewed by:	rwatson at freebsd dot org
Approved by:	rwatson at freebsd dot org
MFC after:	1 week

Fix the matchlen() function so that it handles the IPv4 (AF_INET)
case correctly.  Until now it has been treating IPv4 addresses
as if they were IPv6 which could lead to corruption errors.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by:	rwatson at freebsd dot org
Approved by:	rwatson at freebsd dot org
MFC after:	1 week

Fix the matchlen() function so that it handles the IPv4 (AF_INET)
case correctly.  Until now it has been treating IPv4 addresses
as if they were IPv6 which could lead to corruption errors.
</pre>
</div>
</content>
</entry>
<entry>
<title>free ypbuf only when yp_match() succeed.</title>
<updated>2005-05-13T17:30:03+00:00</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2005-05-13T17:30:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f8997ca2f4ec39596a98db3f74d29a62f57e0a2f'/>
<id>f8997ca2f4ec39596a98db3f74d29a62f57e0a2f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>the 3rd argument of getsockname() should be socklen_t*.</title>
<updated>2005-05-02T04:43:32+00:00</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2005-05-02T04:43:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=943db5a2abbf5b141151aef90394278642afb5bb'/>
<id>943db5a2abbf5b141151aef90394278642afb5bb</id>
<content type='text'>
Submitted by:	stefanf
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Submitted by:	stefanf
</pre>
</div>
</content>
</entry>
<entry>
<title>Now, our getservbyname(3) is thread-safe.  So, we don't need</title>
<updated>2005-04-15T18:15:12+00:00</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2005-04-15T18:15:12+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=62e8b17d72e99920decb22e1c87bfd8a2f789b82'/>
<id>62e8b17d72e99920decb22e1c87bfd8a2f789b82</id>
<content type='text'>
to protect it with mutex lock.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to protect it with mutex lock.
</pre>
</div>
</content>
</entry>
<entry>
<title>hostalias() is not thread-safe.  So, introduce _res_hostalias()</title>
<updated>2005-04-15T14:42:29+00:00</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2005-04-15T14:42:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=159d2a98c56e6279e714815f6befd6b3410e7bb2'/>
<id>159d2a98c56e6279e714815f6befd6b3410e7bb2</id>
<content type='text'>
and use it.

Obtained from:	BIND9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and use it.

Obtained from:	BIND9
</pre>
</div>
</content>
</entry>
<entry>
<title>remove needless res_init() call.</title>
<updated>2005-04-14T11:44:43+00:00</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2005-04-14T11:44:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f35528f852d99061081276503a9693aa19475ccd'/>
<id>f35528f852d99061081276503a9693aa19475ccd</id>
<content type='text'>
Inspired by:	NetBSD
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Inspired by:	NetBSD
</pre>
</div>
</content>
</entry>
<entry>
<title>- we are no longer shareing any resources to be locked between</title>
<updated>2005-04-06T15:36:34+00:00</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2005-04-06T15:36:34+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2424b1185195850c1b47db3d46079ef62704ed28'/>
<id>2424b1185195850c1b47db3d46079ef62704ed28</id>
<content type='text'>
  getaddrinfo(3) and getipnodeby*(3).
- use definitions in reentrant.h.
- remove obsolete comment.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  getaddrinfo(3) and getipnodeby*(3).
- use definitions in reentrant.h.
- remove obsolete comment.
</pre>
</div>
</content>
</entry>
</feed>
