[sudo-commits] sudo changeset 8544:c368ac3eb2e4
Todd C. Miller
Todd.Miller at courtesan.com
Fri Jan 11 14:34:17 EST 2013
changeset: 8544:c368ac3eb2e4 in /home/hg/sudo
details: http://www.sudo.ws/repos/sudo/rev/c368ac3eb2e4
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Fri Jan 11 10:09:06 2013 -0500
Log Message:
Always resume the command in the foreground if sudo itself is the
foreground process. This helps work around poorly behaved programs
that catch SIGTTOU/SIGTTIN but suspend themselves with SIGSTOP. At
worst, sudo will go into the background but upon resume the command
will be runnable. Otherwise, we can get into a situation where the
command will immediately suspend itself.
diffstat:
src/exec_pty.c | 39 +++++++++++++++++++++------------------
1 files changed, 21 insertions(+), 18 deletions(-)
More information about the sudo-commits
mailing list