[sudo-commits] sudo changeset 12459:6b3cb94fedb9

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


changeset:	12459:6b3cb94fedb9 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/6b3cb94fedb9
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Tue Jun 02 09:07:44 2020 -0600

Log Message:
	Add support for "accept" audit events sent by the sudo front-end.
	With this change, the sudo front-end will send an "accept" audit
	event to the audit plugins after all the I/O logging plugins have
	been initialized.  This can be used by an audit plugin that does
	not care about the result of the individual policy and approval
	plugins and only wants to receive a single "accept" event if all
	policy and approval plugins have succeeded.  The plugin_type argument
	for events sent by the front-end is SUDO_FRONT_END (0).

diffstat:

 doc/sudo_plugin.man.in              |  74 +++++++++++++++++++++++++++++-------
 doc/sudo_plugin.mdoc.in             |  74 +++++++++++++++++++++++++++++-------
 doc/sudo_plugin_python.man.in       |  74 +++++++++++++++++++++++++++++------
 doc/sudo_plugin_python.mdoc.in      |  75 +++++++++++++++++++++++++++++-------
 include/sudo_plugin.h               |   3 +
 plugins/audit_json/audit_json.c     |   6 ++-
 plugins/python/sudo_python_module.c |   3 +-
 src/sudo.c                          |   4 +
 8 files changed, 252 insertions(+), 61 deletions(-)



More information about the sudo-commits mailing list