[sudo-commits] sudo changeset 13309:52e40ae4b79a

Todd C. Miller Todd.Miller at sudo.ws
Fri Jul 16 09:32:36 MDT 2021


changeset:	13309:52e40ae4b79a in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/52e40ae4b79a
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Fri Jul 09 11:08:44 2021 -0600

Log Message:
	Add support for logging exit status events.
	For sudo-formatted logs, this is a record with "EXIT=number" and
	potentially "SIGNAL=name" after the command.  For JSON-format logs,
	a new "exit" record is logged which contains an "exit_value" and
	potentially "signal" and "core_dumped".  JSON-format logs now incude
	a UUID to associate the "exit" record with the "accept" record.

diffstat:

 include/sudo_eventlog.h |    2 +
 lib/eventlog/eventlog.c |  255 ++++++++++++++++++++++++++++++++---------------
 2 files changed, 175 insertions(+), 82 deletions(-)



More information about the sudo-commits mailing list