[PATCH] Unix datagram socket messaging

Jeremy Allison jra at samba.org
Tue Apr 22 10:10:55 MDT 2014


On Tue, Apr 22, 2014 at 05:51:51PM +0200, Stefan (metze) Metzmacher wrote:
> Am 19.04.2014 00:47, schrieb Jeremy Allison:
> >> After socket() we should set FD_CLOEXEC and O_NONBLOCK similar to
> >> > > tsocket_bsd_common_prepare_fd() or set_blocking() and
> >> > > smb_set_close_on_exec().
> >> > > MSG_DONTWAIT might not be available everywhere.
> >> 
> >> Done.
> 
> There's a 2nd socket(AF_UNIX, SOCK_DGRAM, 0); in
> unix_dgram_send_queue_init()
> which needs to set just FD_CLOEXEC.

Ok, will fix.


More information about the samba-technical mailing list