[PATCH] memset_s() and talloc_set_secure()

Jeremy Allison jra at samba.org
Tue Oct 16 16:41:35 UTC 2018


On Tue, Oct 16, 2018 at 12:01:34PM +0200, David Disseldorp wrote:
> On Sat, 13 Oct 2018 08:05:39 +1300, Andrew Bartlett via samba-technical wrote:
> 
> ...
> > Sure, but all this is really is another destructor.
> > 
> > I'm with Jeremy on this one.  Make it like talloc_stackframe(), a Samba
> > add-on, at least for now.
> 
> +1
> 
> ...
> > Then we can learn about how this works in the real world, and tweak it
> > without promising it in our talloc ABI forever (like the memlimit stuff
> > is) if it doesn't turn out. 
> 
> Is there anything stopping us from deprecating the talloc memlimit
> functionality, as a step towards removal in a subsequent ABI version
> bump?
> https://lists.samba.org/archive/samba-technical/2012-September/087009.html
> indicates that it was intended for the LDAP server implementation, but
> never ended up being used.

No, I'd love to get rid of talloc memlimit, but it would require
a major version revision.

Is there anyone out there actually using this ?

Jeremy.



More information about the samba-technical mailing list