[sudo-commits] sudo changeset 10467:bbe0e18739ec

Todd C. Miller Todd.Miller at courtesan.com
Tue May 17 08:20:52 MDT 2016


changeset:	10467:bbe0e18739ec in /media/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/bbe0e18739ec
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Tue May 17 08:16:43 2016 -0600

Log Message:
	Don't use SUDO_EVLOOP_NONBLOCK when flushing buffers at pty close
	time, only when the user suspends sudo.  Fixes a problem where all
	buffers might not get flushed at exit when logging I/O.  Reproducible
	via "sudo tar cf - foo | (cd /tmp && sudo tar xf -)" on OpenBSD.

diffstat:

 src/exec_pty.c |  27 +++++++++++++++------------
 1 files changed, 15 insertions(+), 12 deletions(-)


More information about the sudo-commits mailing list