[sudo-commits] sudo changeset 14569:3fb7ca4631c0

Todd C. Miller Todd.Miller at sudo.ws
Tue Feb 21 13:39:47 MST 2023


changeset:	14569:3fb7ca4631c0 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/3fb7ca4631c0
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Tue Feb 21 13:24:33 2023 -0700

Log Message:
	set_cmnd_path: apply runchroot if set when finding the command path
	Previously we would prepend runchroot to the path we were checking
	but that does not properly handle symbolic links.

diffstat:

 plugins/sudoers/editor.c                      |   2 +-
 plugins/sudoers/find_path.c                   |  20 ++++++++------------
 plugins/sudoers/goodpath.c                    |  16 ++--------------
 plugins/sudoers/regress/editor/check_editor.c |   3 +--
 plugins/sudoers/regress/fuzz/fuzz_policy.c    |   3 +--
 plugins/sudoers/sudoers.c                     |  20 ++++++++++++++++----
 plugins/sudoers/sudoers.h                     |   5 ++---
 7 files changed, 31 insertions(+), 38 deletions(-)



More information about the sudo-commits mailing list