[PATCH] Unix datagram socket messaging
Stefan (metze) Metzmacher
metze at samba.org
Tue Apr 22 09:51:51 MDT 2014
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.
metze
More information about the samba-technical
mailing list