[RFC][PATCH] krb5 => libverto main loop

Nathaniel McCallum npmccallum at redhat.com
Mon Aug 15 17:21:16 EDT 2011


The big summer project of migrating krb5kdc to a libverto mainloop has
reached the stage where I'd like some futher review.  You can find the
patches in my github fork in the verto branch
( https://github.com/npmccallum/krb5-anonsvn/tree/verto ).

This work is dependant on three features of verto: io, timeout and
signals. With the exception of glib, all of the verto backends currently
support all these features. glib supports them in >=2.29. libverto has
exposed two bugs upstream, one in tevent and one in glib. Patches have
been proposed upstream for both of these bugs. libverto can be
downloaded here and pending acceptance of this patch I will release 0.1:
http://git.fedorahosted.org/git/?p=libverto.git

The basic approach of this patch set is to replace the internal static
array of struct connection* with an array of verto_ev* and then storing
the struct connection* as a private within the event. All existing
behavior should be ported (bugs excluded of course).

Anyway, please try it out and let me know if you have any problems.

Nathaniel




More information about the krbdev mailing list