[sudo-commits] sudo changeset 12627:d8765611b48c

Todd C. Miller Todd.Miller at sudo.ws
Wed Sep 9 17:20:46 MDT 2020


changeset:	12627:d8765611b48c in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/d8765611b48c
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Wed Sep 09 15:26:44 2020 -0600

Log Message:
	Take the chroot into account when search for the command.
	This could a a user-specific chroot via the -R option, a runchroot
	Defaults value, or a per-command CHROOT spec in the sudoers rule.

diffstat:

 plugins/sudoers/defaults.c      |    2 +-
 plugins/sudoers/editor.c        |    3 +-
 plugins/sudoers/find_path.c     |   27 +++---
 plugins/sudoers/goodpath.c      |   14 +++-
 plugins/sudoers/match.c         |   11 +-
 plugins/sudoers/match_command.c |  155 ++++++++++++++++++++++++++++++++--------
 plugins/sudoers/parse.c         |   60 ++++++++++++--
 plugins/sudoers/parse.h         |    6 +-
 plugins/sudoers/stubs.c         |    7 +
 plugins/sudoers/sudoers.c       |  155 ++++++++++++++++++++++++++++-----------
 plugins/sudoers/sudoers.h       |    6 +-
 plugins/sudoers/testsudoers.c   |    9 ++-
 12 files changed, 342 insertions(+), 113 deletions(-)



More information about the sudo-commits mailing list