[sudo-commits] sudo changeset 12458:e12e3040b067
Todd C. Miller
Todd.Miller at sudo.ws
Tue Jun 2 09:07:44 MDT 2020
changeset: 12458:e12e3040b067 in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/e12e3040b067
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