socket-wrapper fd-passing

Anoop C S anoopcs at samba.org
Tue Aug 25 06:58:12 UTC 2020


On Tue, 2020-06-30 at 18:28 +0200, Stefan Metzmacher via samba-
technical wrote:
> 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-multichannel

Is this still the up-to-date branch with socket_wrapper changes pulled
in along with multichannel tests enabled?

> https://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...

Were you able to complete a successful Samba CI run with fd-passing
changes?




More information about the samba-technical mailing list