[sudo-commits] sudo changeset 7004:fe50d6a5c5b9

Todd C. Miller Todd.Miller at courtesan.com
Sat Jun 4 10:02:46 EDT 2011


changeset:	7004:fe50d6a5c5b9 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/fe50d6a5c5b9
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Sat Jun 04 10:01:39 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