[sudo-commits] sudo changeset 14090:54e3494473ac

Todd C. Miller Todd.Miller at sudo.ws
Thu Jun 30 13:24:43 MDT 2022


changeset:	14090:54e3494473ac in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/54e3494473ac
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Thu Jun 30 11:10:43 2022 -0600

Log Message:
	Save the initial command run via sudo and use it when logging exit status.
	Otherwise, if we are in intercept mode or logging sub-commands the
	exit status will be logged with the wrong command.

diffstat:

 plugins/sudoers/audit.c   |   2 +-
 plugins/sudoers/logging.c |  17 ++++++++++-------
 plugins/sudoers/logging.h |   3 ++-
 plugins/sudoers/sudoers.c |  21 ++++++++++++++++++---
 plugins/sudoers/sudoers.h |   2 ++
 5 files changed, 33 insertions(+), 12 deletions(-)



More information about the sudo-commits mailing list