[sudo-commits] sudo changeset 6548:18aa455cd140

Todd C. Miller Todd.Miller at courtesan.com
Mon Mar 14 10:20:59 EDT 2011


changeset:	6548:18aa455cd140 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/18aa455cd140
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Mon Mar 14 10:20:47 2011 -0400

Log Message:
	Redo utmp handling.  If no getutent()/getutxent() is available,
	assume a ttyslot-based utmp.  If getttyent() is available, use
	that directly instead of ttyslot() so we don't have to do the
	stdin dup2 dance.

diffstat:

 config.h.in     |   40 +++++-
 configure       |  216 +++++++++++++++++++++-------------
 configure.in    |   32 ++--
 src/Makefile.in |    2 +-
 src/exec_pty.c  |   17 +--
 src/sudo_exec.h |    4 +-
 src/utmp.c      |  345 ++++++++++++++++++++++++++++++++++++++-----------------
 7 files changed, 423 insertions(+), 233 deletions(-)



More information about the sudo-commits mailing list