libreplace on Linux was (Re: Changing back to per-thread credentials on Linux (fixing native AIO).)

Rusty Russell rusty at ozlabs.org
Thu Jun 28 23:18:04 MDT 2012


On Thu, 28 Jun 2012 08:42:56 +1000, Andrew Bartlett <abartlet at samba.org> wrote:
> The other concern I have is that libreplace has in general been about
> ensuring that the Linux interface is available everywhere, but this
> isn't the Linux interface, it is a custom Samba interface being called
> by the Linux name.  
> 
> The distinction matters, because on Linux, we had actually got to the
> point where with waf, libreplace actually became a no-op (libbsd is used
> for the strl* functions).  (Jelmer was keen on this). 

Nice: it's a commonly-used library so it's not an onerous requirement,
and means we don't have to maintain any code (I wish they'd do err, though).

But I don't think libreplace is ever going to empty for long, because there
will always be bugs :(

Cheers,
Rusty.




More information about the samba-technical mailing list