[Patches] Preparation for tevent impersonation (part1)
Volker Lendecke
Volker.Lendecke at SerNet.DE
Fri Jun 15 06:36:37 UTC 2018
On Fri, Jun 15, 2018 at 12:10:50AM +0200, David Disseldorp via samba-technical wrote:
> Hi Metze,
>
> On Thu, 14 Jun 2018 20:54:26 +0200, Stefan Metzmacher wrote:
>
> > For async code we always have the 'state' variable to use for temporary
> > memory, so we don't need talloc_stackframes...
>
> Indeed, we just need to encourage people to use it instead of the
> talloc_tos() context, and begin migrating over helper functions :)
Do you really want to pass down temporary talloc contexts everywhere?
That's exactly what talloc_tos() was designed for.
Volker
--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
More information about the samba-technical
mailing list