socket-wrapper fd-passing

Stefan Metzmacher metze at samba.org
Tue Jun 30 16:28:26 UTC 2020


Hi Anoop,

>>> I guess it means we would need to undo some of the changes we made
>>> to one array of socket_info structures.
>>>
>>> I'll let you know if I get the basic passing of information via the
>>> tmp
>>> pipe working...
>>
>> As Samba does not require that the socket is usable from two
>> processes
>> at the same time, I guess we can take a short cut and just pass
>> the socket_info structure (an array of them) through the pipe.
>> That would allow us to have multichannel tested in gitlab/autobuild.
> 
> I am looking through your changes and will let you know in case I need
> more clarifications.
> 
>> I'll see if I can get this to work. Once we have these basics,
>> we can try to improve the design to be more generic with shared
>> structures, when we really need it.

I made good progress, see
https://gitlab.com/metze/socket_wrapper/-/commits/fd-passing-unix
https://gitlab.com/metze/socket_wrapper/-/pipelines/161689331

And for Samba:
https://git.samba.org/?p=metze/samba/wip.git;a=shortlog;h=refs/heads/master-multichannelhttps://gitlab.com/samba-team/devel/samba/-/pipelines/161691424
https://gitlab.com/samba-team/devel/samba/-/pipelines/161691541

I'll add some more tests tomorrow and debug why some samba tests are
failing...

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20200630/a9b737e4/signature.sig>


More information about the samba-technical mailing list