<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/source4/lib/socket/socket_unix.c, branch talloc-2.1.2</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>s4-lib/socket: Allocate a the larger sockaddr_un and not just a sockaddr_in in unixdom_get_my_addr()</title>
<updated>2013-07-24T12:37:43+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2013-07-23T22:19:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=077dfd0a89a854c21b91b0f871d034fd9fe82a9a'/>
<id>077dfd0a89a854c21b91b0f871d034fd9fe82a9a</id>
<content type='text'>
This caused crashes in _tsocket_address_bsd_from_sockaddr() when we
read past the end of the allocation.

(similar to commit e9ae36e9683372b86f1efbd29904722a33fea083)

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10042

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;

Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;

Autobuild-User(master): Andrew Bartlett &lt;abartlet@samba.org&gt;
Autobuild-Date(master): Wed Jul 24 14:37:43 CEST 2013 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This caused crashes in _tsocket_address_bsd_from_sockaddr() when we
read past the end of the allocation.

(similar to commit e9ae36e9683372b86f1efbd29904722a33fea083)

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10042

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;

Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;

Autobuild-User(master): Andrew Bartlett &lt;abartlet@samba.org&gt;
Autobuild-Date(master): Wed Jul 24 14:37:43 CEST 2013 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>s4-lib/socket: Allocate a the larger sockaddr_un and not just a sockaddr_in in unixdom_get_peer_addr()</title>
<updated>2013-07-23T22:35:08+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2013-07-23T22:19:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=e9ae36e9683372b86f1efbd29904722a33fea083'/>
<id>e9ae36e9683372b86f1efbd29904722a33fea083</id>
<content type='text'>
This caused crashes in _tsocket_address_bsd_from_sockaddr() when we
read past the end of the allocation.

Andrew Bartlett

Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This caused crashes in _tsocket_address_bsd_from_sockaddr() when we
read past the end of the allocation.

Andrew Bartlett

Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s4-lib/socket: Return the original EMSGSIZE when sendto() and setsockopt() both fail</title>
<updated>2013-03-04T07:38:23+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2013-03-04T03:07:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=50b42d1c5bb19e3a5050d7d23ac96e273d3974ee'/>
<id>50b42d1c5bb19e3a5050d7d23ac96e273d3974ee</id>
<content type='text'>
This ensures that should we be unable to increase the socket size, we return an
error that the application layer above might expect and be able to make
as reasonable response to (such as switching to a stream-based transport).

This fixes up c692bb02b039ae8fef6ba968fd13b36ad7d62a72.

As suggested by metze in https://bugzilla.samba.org/show_bug.cgi?id=9697#c4

Andrew Bartlett

Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This ensures that should we be unable to increase the socket size, we return an
error that the application layer above might expect and be able to make
as reasonable response to (such as switching to a stream-based transport).

This fixes up c692bb02b039ae8fef6ba968fd13b36ad7d62a72.

As suggested by metze in https://bugzilla.samba.org/show_bug.cgi?id=9697#c4

Andrew Bartlett

Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle EMSGSIZE on UNIX domain sockets.</title>
<updated>2013-03-02T22:34:03+00:00</updated>
<author>
<name>Landon Fuller</name>
<email>landonf@bikemonkey.org</email>
</author>
<published>2013-03-02T19:08:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=c692bb02b039ae8fef6ba968fd13b36ad7d62a72'/>
<id>c692bb02b039ae8fef6ba968fd13b36ad7d62a72</id>
<content type='text'>
On some systems (eg, FreeBSD) the default SO_SNDBUF for UNIX
domain sockets is to small, and EMSGSIZE is returned. Other
systems provide a larger default send buffer, but there is
still no guarantee that the buffer will be sized appropriately.

This patch modifies the sendto() path to attempt to resize
the SO_SNDBUF dynamically upon an EMSGSIZE failure, and then
retry the send.

This fixes local DCE/RPC errors on FreeBSD, eg:

https://lists.samba.org/archive/samba-technical/2013-January/089881.html

Signed-Off-By: Landon Fuller &lt;landonf@bikemonkey.org&gt;

Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;

Autobuild-User(master): Andrew Bartlett &lt;abartlet@samba.org&gt;
Autobuild-Date(master): Sat Mar  2 23:34:03 CET 2013 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On some systems (eg, FreeBSD) the default SO_SNDBUF for UNIX
domain sockets is to small, and EMSGSIZE is returned. Other
systems provide a larger default send buffer, but there is
still no guarantee that the buffer will be sized appropriately.

This patch modifies the sendto() path to attempt to resize
the SO_SNDBUF dynamically upon an EMSGSIZE failure, and then
retry the send.

This fixes local DCE/RPC errors on FreeBSD, eg:

https://lists.samba.org/archive/samba-technical/2013-January/089881.html

Signed-Off-By: Landon Fuller &lt;landonf@bikemonkey.org&gt;

Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;

Autobuild-User(master): Andrew Bartlett &lt;abartlet@samba.org&gt;
Autobuild-Date(master): Sat Mar  2 23:34:03 CET 2013 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>s4-socket: Make sure unix socket addresses are null terminated.</title>
<updated>2012-12-12T14:00:02+00:00</updated>
<author>
<name>Andreas Schneider</name>
<email>asn@samba.org</email>
</author>
<published>2012-12-10T16:14:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=7dd13503c0919766ecf3c8f5f48cda72aae8ac73'/>
<id>7dd13503c0919766ecf3c8f5f48cda72aae8ac73</id>
<content type='text'>
Signed-off-by: Andreas Schneider &lt;asn@samba.org&gt;
Reviewed-by: Günther Deschner &lt;gd@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Andreas Schneider &lt;asn@samba.org&gt;
Reviewed-by: Günther Deschner &lt;gd@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s3: Fix the clustering build</title>
<updated>2011-12-17T17:41:39+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2011-12-17T16:04:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=79fe4bbf731272ea21f34bd2653673fe1a34e2c4'/>
<id>79fe4bbf731272ea21f34bd2653673fe1a34e2c4</id>
<content type='text'>
ctdb_private.h already defines set_close_on_exec.

Autobuild-User: Volker Lendecke &lt;vlendec@samba.org&gt;
Autobuild-Date: Sat Dec 17 18:41:39 CET 2011 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ctdb_private.h already defines set_close_on_exec.

Autobuild-User: Volker Lendecke &lt;vlendec@samba.org&gt;
Autobuild-Date: Sat Dec 17 18:41:39 CET 2011 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>s4-socket: use set_close_on_exec()</title>
<updated>2011-12-15T22:36:22+00:00</updated>
<author>
<name>Andrew Tridgell</name>
<email>tridge@samba.org</email>
</author>
<published>2011-11-30T04:18:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=9f4c3da734adbabf457074563f3fb3fae7b85585'/>
<id>9f4c3da734adbabf457074563f3fb3fae7b85585</id>
<content type='text'>
this prevents a fd leak to child processes
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this prevents a fd leak to child processes
</pre>
</div>
</content>
</entry>
<entry>
<title>libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbol</title>
<updated>2011-06-20T06:12:03+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2011-06-20T04:55:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=a1f04e8abc761ef1ba211420ff1dbda50fcf527d'/>
<id>a1f04e8abc761ef1ba211420ff1dbda50fcf527d</id>
<content type='text'>
The two error tables need to be combined, but for now seperate the names.

(As the common parts of the tree now use the _common function,
errmap_unix.c must be included in the s3 autoconf build).

Andrew Bartlett

Autobuild-User: Andrew Bartlett &lt;abartlet@samba.org&gt;
Autobuild-Date: Mon Jun 20 08:12:03 CEST 2011 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The two error tables need to be combined, but for now seperate the names.

(As the common parts of the tree now use the _common function,
errmap_unix.c must be included in the s3 autoconf build).

Andrew Bartlett

Autobuild-User: Andrew Bartlett &lt;abartlet@samba.org&gt;
Autobuild-Date: Mon Jun 20 08:12:03 CEST 2011 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>source4/lib: Fix prototypes for all functions.</title>
<updated>2011-03-19T02:20:05+00:00</updated>
<author>
<name>Jelmer Vernooij</name>
<email>jelmer@samba.org</email>
</author>
<published>2011-03-18T23:45:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=bd0eced7d586a1648c9c429b5ac6aeec8256e4c6'/>
<id>bd0eced7d586a1648c9c429b5ac6aeec8256e4c6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make more module init functions public, since they are compiled with -fvisibility=hidden. Not doing this causes failures on Mac OS X.</title>
<updated>2008-02-20T18:40:20+00:00</updated>
<author>
<name>Jelmer Vernooij</name>
<email>jelmer@samba.org</email>
</author>
<published>2008-02-20T18:40:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=39a6495c86679d5e970012a0d1f5cd375e56450c'/>
<id>39a6495c86679d5e970012a0d1f5cd375e56450c</id>
<content type='text'>
(This used to be commit da1a9438bd89569077ef1eaa9dc977b5f9d62836)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(This used to be commit da1a9438bd89569077ef1eaa9dc977b5f9d62836)
</pre>
</div>
</content>
</entry>
</feed>
