[sudo-commits] sudo changeset 9067:db41c08e92dc
Todd C. Miller
Todd.Miller at courtesan.com
Mon Oct 28 10:10:28 MDT 2013
changeset: 9067:db41c08e92dc in /home/hg/sudo
details: http://www.sudo.ws/repos/sudo/rev/db41c08e92dc
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Mon Oct 28 10:00:09 2013 -0600
Log Message:
Add support for libevent-style timed events. Adding a timed event
is currently O(n). The only consumer of timed events is sudoreplay
which only used a singled one so O(n) == O(1) for now. This also
allows us to remove the nanosleep compat function as we now use a
timeout event instead.
diffstat:
MANIFEST | 1 -
common/event.c | 94 +++++++++++++--
common/event_poll.c | 22 ++-
common/event_select.c | 33 +++--
compat/Makefile.in | 3 -
compat/nanosleep.c | 57 ---------
config.h.in | 3 -
configure | 62 ----------
configure.in | 4 -
include/missing.h | 10 -
include/sudo_event.h | 21 ++-
mkdep.pl | 2 +-
plugins/sudoers/Makefile.in | 3 +-
plugins/sudoers/sudoreplay.c | 251 ++++++++++++++++++++++--------------------
src/exec.c | 6 +-
src/exec_pty.c | 22 +-
16 files changed, 282 insertions(+), 312 deletions(-)
More information about the sudo-commits
mailing list