[sudo-commits] sudo changeset 14663:51a70eadc7fc
Todd C. Miller
Todd.Miller at sudo.ws
Wed Mar 22 12:51:12 MDT 2023
changeset: 14663:51a70eadc7fc in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/51a70eadc7fc
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Wed Mar 22 12:44:41 2023 -0600
Log Message:
exec_pty: always copy the terminal settings from /dev/tty the pty.
Previously, we only did this when running in the foreground but
this can cause problems when running a program that reads the
terminal settings or window size in the background. If sudo is
running in the background, the terminal settings will be updated
if it transitions to the foreground process.
Based on a suggestion from From Duncan Overbruck.
diffstat:
src/exec_pty.c | 32 +++++++++++++++++++-------------
1 files changed, 19 insertions(+), 13 deletions(-)
More information about the sudo-commits
mailing list