<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/lib/socket_wrapper/socket_wrapper.c, branch v3-5-test</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/'/>
<entry>
<title>socket_wrapper: also ignore AF_INET6 in swrap_setsockopt()</title>
<updated>2010-02-18T11:57:23+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2010-02-17T08:43:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=6aa09416ad5f27e3db679765657b67e54dde5fd9'/>
<id>6aa09416ad5f27e3db679765657b67e54dde5fd9</id>
<content type='text'>
metze
(cherry picked from commit 0b3e950731fe72a258a631e39ca1304d54663536)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
metze
(cherry picked from commit 0b3e950731fe72a258a631e39ca1304d54663536)
</pre>
</div>
</content>
</entry>
<entry>
<title>socket_wrapper: swrap_read() should use SWRAP_RECV* for swrap_dump_packet()</title>
<updated>2009-09-08T20:07:30+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2009-09-08T20:07:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=4b6e9a8e49bb0f63eed65fd84c0aa28b394482cd'/>
<id>4b6e9a8e49bb0f63eed65fd84c0aa28b394482cd</id>
<content type='text'>
This is the same as swrap_recv().

metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the same as swrap_recv().

metze
</pre>
</div>
</content>
</entry>
<entry>
<title>Add read() to socketwrapper. Metze please check.</title>
<updated>2009-09-08T03:31:01+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2009-09-08T03:31:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=5ce12a05658ce03bf6414c15f20c28e125897dc2'/>
<id>5ce12a05658ce03bf6414c15f20c28e125897dc2</id>
<content type='text'>
Jeremy.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Jeremy.
</pre>
</div>
</content>
</entry>
<entry>
<title>Partially revert restriction of socket_wrapper to 1500 byte writes</title>
<updated>2009-06-19T04:36:06+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2009-06-19T03:25:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=17e1cbb6d33614aaf5b6d8aaf4c6cf0dab84dfa6'/>
<id>17e1cbb6d33614aaf5b6d8aaf4c6cf0dab84dfa6</id>
<content type='text'>
This keeps the restriction for stream sockets (where the caller will
retry), without creating problems on datagram sockets (CLDAP is not
defined, as far as I know, across multiple UDP packets).

The commit adding this restriction was
47b106c0ae8b91c9cccfc21bf8e4e416b1abfd5d

Andrew Bartlett
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This keeps the restriction for stream sockets (where the caller will
retry), without creating problems on datagram sockets (CLDAP is not
defined, as far as I know, across multiple UDP packets).

The commit adding this restriction was
47b106c0ae8b91c9cccfc21bf8e4e416b1abfd5d

Andrew Bartlett
</pre>
</div>
</content>
</entry>
<entry>
<title>fixed socket wrapper to determine family from the right structure</title>
<updated>2009-06-09T03:33:09+00:00</updated>
<author>
<name>Andrew Tridgell</name>
<email>tridge@samba.org</email>
</author>
<published>2009-06-09T03:33:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=03dd06de9ae7b3692fd2ab141c0522abacbaec31'/>
<id>03dd06de9ae7b3692fd2ab141c0522abacbaec31</id>
<content type='text'>
In convert_in_un_remote() the socket family can be accessed either as
si-&gt;family or inaddr-&gt;sa_family. We were using the si-&gt;family to
determine how to cast the inaddr structure, but if si-&gt;family !=
inaddr-&gt;sa_family then we will incorrectly be casting a in6 structure
as in4 or vice-versa.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In convert_in_un_remote() the socket family can be accessed either as
si-&gt;family or inaddr-&gt;sa_family. We were using the si-&gt;family to
determine how to cast the inaddr structure, but if si-&gt;family !=
inaddr-&gt;sa_family then we will incorrectly be casting a in6 structure
as in4 or vice-versa.
</pre>
</div>
</content>
</entry>
<entry>
<title>socket_wrapper Cope with SOCK_CLOEXEC and SOCK_NONBLOCK flags</title>
<updated>2009-06-04T04:19:17+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2009-06-04T04:14:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=4c70a5b405d2ee6b8a47118fd731a0fb64dda2ff'/>
<id>4c70a5b405d2ee6b8a47118fd731a0fb64dda2ff</id>
<content type='text'>
Heimdal will, on supporting systems, set these flags in the type
argument of socket(), causing breakage when combined with
socket_wrapper.

For background on these flags, see http://lwn.net/Articles/281965/

Andrew Bartlett
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Heimdal will, on supporting systems, set these flags in the type
argument of socket(), causing breakage when combined with
socket_wrapper.

For background on these flags, see http://lwn.net/Articles/281965/

Andrew Bartlett
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for sendmsg() in socket_wrapper</title>
<updated>2009-05-26T02:37:09+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2009-05-26T01:43:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=86039855759ce38e6074f956073199b0ccd29bdf'/>
<id>86039855759ce38e6074f956073199b0ccd29bdf</id>
<content type='text'>
This is required because the deferred connect code skips the connect()
until sending the packet, but unless we catch this call, the connect()
never happens.

Andrew Bartlett
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is required because the deferred connect code skips the connect()
until sending the packet, but unless we catch this call, the connect()
never happens.

Andrew Bartlett
</pre>
</div>
</content>
</entry>
<entry>
<title>socket_wrapper: fix the build on systems without ipv6 support</title>
<updated>2009-04-14T10:47:18+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2009-04-14T10:45:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=74707e8e8e1be2cbaa71fb0442957be2e663cbde'/>
<id>74707e8e8e1be2cbaa71fb0442957be2e663cbde</id>
<content type='text'>
metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
metze
</pre>
</div>
</content>
</entry>
<entry>
<title>socket_wrapper: fix crash bug in swrap_readv/writev</title>
<updated>2009-04-10T17:38:29+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2009-04-08T17:08:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=f20f5ae8e6b9ca5c90441a3083f6904168388fdf'/>
<id>f20f5ae8e6b9ca5c90441a3083f6904168388fdf</id>
<content type='text'>
metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
metze
</pre>
</div>
</content>
</entry>
<entry>
<title>socket_wrapper: fix connect() for dgram sockets, if the destination isn't there yet</title>
<updated>2009-03-23T11:19:29+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2009-03-23T08:16:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=435a0a5a3bc8114991650a78e1f90049d2f3f343'/>
<id>435a0a5a3bc8114991650a78e1f90049d2f3f343</id>
<content type='text'>
Now we defer the real_connect() for dgram sockets to the first send()/sendto() call,
as the destination might not be there at connect time.

Commit 66dc53ee017d74a6f610bbe04337f064901fe2a1 was an incomplete fix for this
problem.

metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now we defer the real_connect() for dgram sockets to the first send()/sendto() call,
as the destination might not be there at connect time.

Commit 66dc53ee017d74a6f610bbe04337f064901fe2a1 was an incomplete fix for this
problem.

metze
</pre>
</div>
</content>
</entry>
</feed>
