[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
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Fri Jun 04 17:44:43 2010 -0400
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.
tgetpass.c | 74 ++++++++++++++++++++++++++++++++++++++-----------------------
1 files changed, 46 insertions(+), 28 deletions(-)
More information about the sudo-commits