Uses of talloc

Jeremy Allison jra at samba.org
Wed Oct 9 09:43:46 MDT 2013


On Wed, Oct 09, 2013 at 08:55:15AM +0200, Andreas Schneider wrote:
> On Monday 07 October 2013 15:42:28 Jeremy Allison wrote:
> > On Mon, Oct 07, 2013 at 05:56:31PM -0400, Alan DeKok wrote:
> > >   I've just released Version 3 of FreeRADIUS, the world's most popular
> > > 
> > > RADIUS server.  Which also does DHCP, VMPS, and which has a few other
> > > protocols on the roadmap.
> > > 
> > >   The release was languishing for a long time due to underlying
> > > 
> > > architectural issues.  In January, we decided to use talloc.  After
> > > about 8 months of rapid development, we finally have a stable 3.0.
> > > 
> > >   I think that the release wouldn't have been possible without talloc.
> > > 
> > > So thanks to everyone for your effort.  It's made our lives easier.
> > 
> > Great ! Glad to hear it helped.
> > 
> > The only thing I'd caution you about is your use of
> > talloc_reference() in src/main/conffile.c:776.
> > 
> > It's a horrible interface I'd (personally) really
> > like to remove at some point, it turns a beautiful
> > talloc-tree into a graph :-(.
> 
> We should add a Warning or Note to the documentation, shouldn't we?

+1 on warnings against talloc_reference(), talloc_unlink().

Jeremy


More information about the samba-technical mailing list