[sudo-commits] sudo changeset 12495:b9b95c6778b8

Todd C. Miller Todd.Miller at sudo.ws
Thu Jun 18 19:07:10 MDT 2020


changeset:	12495:b9b95c6778b8 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/b9b95c6778b8
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Tue Jun 02 08:59:38 2020 -0600

Log Message:
	If event loop fails due to ENXIO, remove /dev/tty events and recover.
	This fixes an issue on Solaris 11.4 (and probably others) with "sudo
	reboot" when I/O logging is enabled.  Previously, sudo would kill
	the command if it was still running after the event loop terminated,
	leaving the system in a half-dead state.

diffstat:

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



More information about the sudo-commits mailing list