[sudo-commits] sudo changeset 12460:552c13bd0287

Todd C. Miller Todd.Miller at sudo.ws
Tue Jun 2 14:55:07 MDT 2020


changeset:	12460:552c13bd0287 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/552c13bd0287
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Tue Jun 02 09:07:46 2020 -0600

Log Message:
	Defer logging of the successful command until approval plugins have run.
	This adds audit plugin support to the sudoers module, currently
	only used for accept events.  As a result, the sudoers file is now
	initially parsed as an audit plugin.

diffstat:

 plugins/sudoers/audit.c          |  134 ++++++++++++++++++++++++++++++--------
 plugins/sudoers/auth/sudo_auth.c |    7 +-
 plugins/sudoers/bsm_audit.c      |    8 +-
 plugins/sudoers/bsm_audit.h      |    4 +-
 plugins/sudoers/logging.c        |    4 +-
 plugins/sudoers/logging.h        |    3 +-
 plugins/sudoers/policy.c         |   15 +---
 plugins/sudoers/solaris_audit.c  |   22 +++--
 plugins/sudoers/solaris_audit.h  |    4 +-
 plugins/sudoers/sudoers.c        |   44 +++++-------
 plugins/sudoers/sudoers.h        |   11 ++-
 11 files changed, 161 insertions(+), 95 deletions(-)



More information about the sudo-commits mailing list