[sudo-commits] sudo changeset 9065:933b99b3f2bc

Todd C. Miller Todd.Miller at courtesan.com
Sat Oct 26 07:43:07 MDT 2013


changeset:	9065:933b99b3f2bc in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/933b99b3f2bc
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Sat Oct 26 06:55:23 2013 -0600

Log Message:
	Add a list of active events in the base that the back end sets when
	it calls poll or select.  This allows the front end to iterate over
	the events instead of having that code in both back ends.  It will
	also simplify support for timeout events.  Also make sure we can't
	touch freed memory if a callback frees its own event.

diffstat:

 common/event.c        |   84 +++++++++++++++++++++++++++++++---
 common/event_poll.c   |   73 +++++++++---------------------
 common/event_select.c |  119 ++++++++++++++++++-------------------------------
 include/sudo_event.h  |   26 ++++++----
 4 files changed, 159 insertions(+), 143 deletions(-)


More information about the sudo-commits mailing list