[sudo-commits] sudo changeset 13552:caa529a0cab6

Todd C. Miller Todd.Miller at sudo.ws
Wed Sep 29 10:27:25 MDT 2021


changeset:	13552:caa529a0cab6 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/caa529a0cab6
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Wed Sep 29 10:25:19 2021 -0600

Log Message:
	find_editor: remove the env_error argument
	There is no case where we should fail to find an editor just because
	the values of EDITOR, VISUAL and SUDO_EDITOR are unavailable.  Both
	sudoedit and the "env_editor" sudoers setting are documented as
	falling back on the hard-coded list of editors in the "editors"
	sudoers setting.  Bug #1000

diffstat:

 doc/sudoers.man.in                            |   4 ++--
 doc/sudoers.mdoc.in                           |   4 ++--
 plugins/sudoers/editor.c                      |  15 +++++++--------
 plugins/sudoers/regress/editor/check_editor.c |   2 +-
 plugins/sudoers/sudoers.c                     |   2 +-
 plugins/sudoers/sudoers.h                     |   2 +-
 plugins/sudoers/visudo.c                      |   2 +-
 7 files changed, 15 insertions(+), 16 deletions(-)



More information about the sudo-commits mailing list