network namespace support in selftest (was: Re: socket-wrapper fd-passing)

Stefan Metzmacher metze at
Thu Jun 25 06:07:48 UTC 2020

Am 24.06.20 um 23:26 schrieb Andrew Bartlett:
> On Wed, 2020-06-24 at 23:14 +0200, Stefan Metzmacher via samba-
> technical wrote:
>> Hi Anoop,
>> I rebased your fd-passing patches on top of socket_wrapper master.
>> See
>> Please also notice my commit on top where I added some more hints
>> on a better design:
> I've not looked into this in any detail at all, and I'm sure you are
> aware that with the network namespace mode for selftest we can avoid
> socket_wrapper and so base ourselves directly on kernel sockets.  
> This of course requires privileges so has other implications, but I
> wanted to mention this more broadly in case this helps us get out of a
> tight spot here.
> This is the work Tim Beale did a year or so ago.

Yes, I'm aware of it, but it's Linux only.
We may be able to make use of it for smb-direct testing (which will most
likely be Linux only too). But multi-channel should at least also be
testable on FreeBSD with just 'make test'.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the samba-technical mailing list