[sudo-commits] sudo changeset 14669:3e59765dea31
Todd C. Miller
Todd.Miller at sudo.ws
Thu Mar 23 11:05:29 MDT 2023
changeset: 14669:3e59765dea31 in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/3e59765dea31
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Thu Mar 23 10:39:28 2023 -0600
Log Message:
On resume, always sync the pty terminal settings with /dev/tty.
Changes made to the terminal settings while the command is suspended
are now reflected in the pty when the command is resumed. This is
more consistent with the non-pty behavior and allows for the removal
of the "tty_initialized" global. One downside to this change is
that if a terminal-based program using the pty is stopped with
SIGSTOP it may have the wrong terminal settings on resume.
However, this is no different from the non-pty case.
diffstat:
src/exec_pty.c | 52 +++++++++++++++++++++++++++-------------------------
1 files changed, 27 insertions(+), 25 deletions(-)
More information about the sudo-commits
mailing list