[sudo-commits] sudo changeset 14660:b5b2d739e44d

Todd C. Miller Todd.Miller at sudo.ws
Tue Mar 21 19:17:54 MDT 2023


changeset:	14660:b5b2d739e44d in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/b5b2d739e44d
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Tue Mar 21 19:11:31 2023 -0600

Log Message:
	Catch SIGCONT and restore terminal settings on resume from SIGSTOP.
	While we cannot catch SIGSTOP, we _can_ catch SIGCONT and set
	/dev/tty to raw mode when running in the foreground.  Ignore SIGCONT
	in suspend_sudo_pty() so we don't call resume_terminal() twice.

diffstat:

 src/exec_pty.c |  110 ++++++++++++++++++++++++++++++++++++++------------------
 1 files changed, 75 insertions(+), 35 deletions(-)



More information about the sudo-commits mailing list