[sudo-commits] sudo changeset 14703:4afc292d3cf4
Todd C. Miller
Todd.Miller at sudo.ws
Sun Apr 16 15:46:48 MDT 2023
changeset: 14703:4afc292d3cf4 in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/4afc292d3cf4
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Sun Apr 16 15:45:19 2023 -0600
Log Message:
Add an fd argument to sudo_get_ttysize() instead of always using stderr.
For sudoreplay we open /dev/tty, so use that instead of stderr when
determining the terminal size.
diffstat:
include/sudo_util.h | 5 +++--
lib/util/ttysize.c | 14 ++++++++++----
lib/util/util.exp.in | 1 +
plugins/sudoers/sudoreplay.c | 2 +-
src/parse_args.c | 4 ++--
src/sudo.c | 2 +-
6 files changed, 18 insertions(+), 10 deletions(-)
More information about the sudo-commits
mailing list