[sudo-commits] sudo changeset 5486:de356064ea01

Todd C. Miller Todd.Miller at courtesan.com
Fri Jun 4 17:44:53 EDT 2010


changeset:	5486:de356064ea01 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/de356064ea01
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Fri Jun 04 17:44:43 2010 -0400

Log Message:
	Do signal setup after turning off echo, not before.  If we are using
	a tty but are not the foreground pgrp this will generate SIGTTOU
	so we want the default action to be taken (suspend process).
	Use an array for signals received instead of a single variable so
	we don't lose any when there are multiple different signals.

diffstat:

 tgetpass.c |  74 ++++++++++++++++++++++++++++++++++++++-----------------------
 1 files changed, 46 insertions(+), 28 deletions(-)



More information about the sudo-commits mailing list