<feed xmlns='http://www.w3.org/2005/Atom'>
<title>musl/src/network, branch v0.9.3</title>
<subtitle>musl - an implementation of the standard library for Linux-based systems</subtitle>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/'/>
<entry>
<title>remove scanf dependency from getaddrinfo /etc/services support</title>
<updated>2012-07-23T02:09:45+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2012-07-23T02:09:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=845a5e69fa33bf49eea81a7b8c80902ab1687f2e'/>
<id>845a5e69fa33bf49eea81a7b8c80902ab1687f2e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>getaddrinfo /etc/services lookup support</title>
<updated>2012-07-22T23:42:44+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2012-07-22T23:42:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=efe72c561925a711d8dbc7894ef27fe823205e21'/>
<id>efe72c561925a711d8dbc7894ef27fe823205e21</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>make getservby*_r return error code rather than -1 (and using errno)</title>
<updated>2012-07-22T22:49:49+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2012-07-22T22:49:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=75fff40b9b536e0e6847d17ecc076894ca7b7068'/>
<id>75fff40b9b536e0e6847d17ecc076894ca7b7068</id>
<content type='text'>
untested but should be correct..
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
untested but should be correct..
</pre>
</div>
</content>
</entry>
<entry>
<title>fix logic error for skipping failed interfaces in if_nameindex</title>
<updated>2012-07-21T21:56:48+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2012-07-21T21:56:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=68c58223672465202958a5da16f19f64f32acf74'/>
<id>68c58223672465202958a5da16f19f64f32acf74</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix getservby*() with null pointer for protocol argument</title>
<updated>2012-07-15T00:16:23+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2012-07-15T00:16:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=06650b968461b72d5eb44063dd68c176be330372'/>
<id>06650b968461b72d5eb44063dd68c176be330372</id>
<content type='text'>
not sure this is the best fix but it should work
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
not sure this is the best fix but it should work
</pre>
</div>
</content>
</entry>
<entry>
<title>workaround another sendmsg kernel bug on 64-bit machines</title>
<updated>2012-07-13T01:37:54+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2012-07-13T01:37:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=96107564e2eabbc13800fe7a7d930b67216d0805'/>
<id>96107564e2eabbc13800fe7a7d930b67216d0805</id>
<content type='text'>
the kernel wrongly expects the cmsg length field to be size_t instead
of socklen_t. in order to work around the issue, we have to impose a
length limit and copy to a local buffer. the length limit should be
more than sufficient for any real-world use; these headers are only
used for passing file descriptors and permissions between processes
over unix sockets.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the kernel wrongly expects the cmsg length field to be size_t instead
of socklen_t. in order to work around the issue, we have to impose a
length limit and copy to a local buffer. the length limit should be
more than sufficient for any real-world use; these headers are only
used for passing file descriptors and permissions between processes
over unix sockets.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix misplaced semicolon in preprocessor directive (#undef h_errno)</title>
<updated>2012-05-17T00:14:30+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2012-05-17T00:14:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=01e94c46231f2670e9b0c1962f10de646674fded'/>
<id>01e94c46231f2670e9b0c1962f10de646674fded</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>use __h_errno_location for h_errno</title>
<updated>2012-05-13T03:45:07+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2012-05-13T03:45:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=e68c51ac46a9f273927aef8dcebc89912ab19ece'/>
<id>e68c51ac46a9f273927aef8dcebc89912ab19ece</id>
<content type='text'>
we do not bother making h_errno thread-local since the only interfaces
that use it are inherently non-thread-safe. but still use the
potentially-thread-local ABI to access it just to avoid lock-in.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
we do not bother making h_errno thread-local since the only interfaces
that use it are inherently non-thread-safe. but still use the
potentially-thread-local ABI to access it just to avoid lock-in.
</pre>
</div>
</content>
</entry>
<entry>
<title>improve name lookup performance in corner cases</title>
<updated>2012-04-02T03:22:16+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2012-04-02T03:22:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=4f346b08b33c9265c36fe8a14f5f908b1a9f296a'/>
<id>4f346b08b33c9265c36fe8a14f5f908b1a9f296a</id>
<content type='text'>
the buffer in getaddrinfo really only matters when /etc/hosts is huge,
but in that case, the huge number of syscalls resulting from a tiny
buffer would seriously impact the performance of every name lookup.

the buffer in __dns.c has also been enlarged a bit so that typical
resolv.conf files will fit fully in the buffer. there's no need to
make it so large as to dominate the syscall overhead for large files,
because resolv.conf should never be large.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the buffer in getaddrinfo really only matters when /etc/hosts is huge,
but in that case, the huge number of syscalls resulting from a tiny
buffer would seriously impact the performance of every name lookup.

the buffer in __dns.c has also been enlarged a bit so that typical
resolv.conf files will fit fully in the buffer. there's no need to
make it so large as to dominate the syscall overhead for large files,
because resolv.conf should never be large.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix for previous incorrect fix of cancellation in dns lookups</title>
<updated>2012-02-23T18:07:20+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2012-02-23T18:07:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=56ddcc720837522e0ff0199422284a7e69e5e891'/>
<id>56ddcc720837522e0ff0199422284a7e69e5e891</id>
<content type='text'>
uninitialized file descriptor was being closed on return, causing
stdin to be closed in many cases.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
uninitialized file descriptor was being closed on return, causing
stdin to be closed in many cases.
</pre>
</div>
</content>
</entry>
</feed>
