[sudo-commits] sudo changeset 7194:9a5513a80338

Todd C. Miller Todd.Miller at courtesan.com
Sun Aug 14 11:46:05 EDT 2011

changeset:	7194:9a5513a80338 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/9a5513a80338
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Sun Aug 14 11:45:09 2011 -0400

Log Message:
	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.


 exec.c      |  12 ++++++------
 exec_pty.c  |  17 +++++++++++------
 sudo_exec.h |   2 +-
 3 files changed, 18 insertions(+), 13 deletions(-)

More information about the sudo-commits mailing list