CMSG_LEN, CMSG_SPACE not there on illumos

Michael Adam obnox at samba.org
Wed Apr 29 03:19:43 MDT 2015


On 2015-04-29 at 07:09 +0200, Ralph Böhme wrote:
> On Tue, Apr 28, 2015 at 08:48:54AM -0700, Jeremy Allison wrote:
> > On Tue, Apr 28, 2015 at 10:41:15AM -0400, Gordon Ross wrote:
> > > In some previous email on this list, Jeremy posted some Solaris
> > > patches that introduced an #ifdef HAVE_STRUCT_MSGHDR_MSG_CONTROL to
> > > deal with this in source3/lib/unix_msg.c.
> > > 
> > > If I go the "add another #ifdef" route, what's the appropriate thing to do here?
> > > I looked the the unix_msg.c changes and it seems that the
> > > #ifdef HAVE_STRUCT_MSGHDR_MSG_CONTROL just omits all the code related
> > > to FD passing.  Does that work?   Is that not needed?
> > > If it helps, illumos _does_ support FD passing via control messages,
> > > just not these CMSG_LEN, CMSG_SPACE macros etc.
> > > 
> > > Any help and advice appreciated.
> > 
> > Can you point me at the man pages for Solaris/Illumos that
> > show how it's doing the same thing ?
> 
> fwiw:
> <https://bugzilla.samba.org/attachment.cgi?id=10623>

By appending '&action=edit' to the above url manually,
I found out that the attachment belongs to this bug:

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

:)

Cheers - Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150429/885faf0e/attachment.pgp>


More information about the samba-technical mailing list