[sudo-commits] sudo changeset 15156:bcd3c9f5736a

Todd C. Miller Todd.Miller at sudo.ws
Wed Nov 8 18:57:58 MST 2023


changeset:	15156:bcd3c9f5736a in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/bcd3c9f5736a
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Wed Nov 08 16:58:02 2023 -0700
files:		lib/util/term.c

Log Message:
	sudo_term_restore: don't check c_cflag on systems with TCSASOFT.

	If TCSASOFT is present, tcsetattr() will ignore c_cflag.
	Fixes a bug where sudo_term_restore() would refuse to change
	the terminal settings back if the PARENB control flag was set.
	GitHub issue #326.


diffstat:

 lib/util/term.c |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)



More information about the sudo-commits mailing list