[sudo-commits] sudo changeset 6570:817490c7c20e

Todd C. Miller Todd.Miller at courtesan.com
Wed Mar 16 13:46:51 EDT 2011


changeset:	6570:817490c7c20e in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/817490c7c20e
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Wed Mar 16 13:43:11 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