[sudo-commits] sudo changeset 12628:c71faa1f5ea1

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


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

Log Message:
	Pass a struct to the match functions to track the resolved command.
	This makes it possible to update user_cmnd and cmnd_status modified
	by per-rule CHROOT settings.

diffstat:

 plugins/sudoers/defaults.c      |   2 +-
 plugins/sudoers/match.c         |  11 ++++++-----
 plugins/sudoers/match_command.c |  24 +++++++++++++++++++-----
 plugins/sudoers/parse.c         |  27 +++++++++++++++++++++------
 plugins/sudoers/parse.h         |  18 ++++++++++++++----
 plugins/sudoers/sudoers.c       |   3 +--
 plugins/sudoers/testsudoers.c   |   2 +-
 7 files changed, 63 insertions(+), 24 deletions(-)



More information about the sudo-commits mailing list