[sudo-commits] sudo changeset 9401:9a5753bfcb95

Todd C. Miller Todd.Miller at courtesan.com
Wed Mar 26 16:00:40 MDT 2014


changeset:	9401:9a5753bfcb95 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/9a5753bfcb95
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Wed Mar 26 13:00:56 2014 -0600

Log Message:
	Propagate errors in audit code to caller instead of using fatal().
	If we fail to audit an otherwise successful command, return an error
	from the policy.  For Linux audit, sudo may be compiled with audit
	support but auditing may not be setup, so we don't consider that
	an error.

diffstat:

 plugins/sudoers/audit.c       |   18 ++--
 plugins/sudoers/bsm_audit.c   |  168 +++++++++++++++++++++++++++--------------
 plugins/sudoers/bsm_audit.h   |    6 +-
 plugins/sudoers/linux_audit.c |   36 ++++++---
 plugins/sudoers/logging.h     |    4 +-
 plugins/sudoers/sudoers.c     |    3 +-
 6 files changed, 150 insertions(+), 85 deletions(-)


More information about the sudo-commits mailing list