[sudo-commits] sudo changeset 7000:87c15149894c
Todd C. Miller
Todd.Miller at courtesan.com
Tue May 31 12:49:43 EDT 2011
changeset: 7000:87c15149894c in /home/hg/sudo
details: http://www.sudo.ws/repos/sudo/rev/87c15149894c
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Tue May 31 12:49:22 2011 -0400
Log Message:
Fix compressed io log corruption in background mode by using _exit()
instead of exit() to avoid flushing buffers twice.
Improved background mode support. When not allocating a pty, the
command is run in its own process group. This prevents write access
to the tty. When running in a pty, stdin is not hooked up and we
never read from /dev/tty, which results in similar behavior.
diffstat:
src/exec.c | 11 +++++------
src/exec_pty.c | 14 +++++++++-----
2 files changed, 14 insertions(+), 11 deletions(-)
More information about the sudo-commits
mailing list