[sudo-commits] sudo changeset 14182:297fa6bbd769

Todd C. Miller Todd.Miller at sudo.ws
Sat Sep 3 09:52:56 MDT 2022

changeset:	14182:297fa6bbd769 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/297fa6bbd769
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Sat Sep 03 09:43:41 2022 -0600

Log Message:
	Set MODE_POLICY_INTERCEPTED for log_subcmds too.
	This fixes a problem where sub-commands were not being logged to
	the remote log server, if configured.  Since we don't go through
	sudoers_policy_main() again for log_subcmds, we set the flag in
	sudoers_audit_accept() instead.  The reason this is complicated is
	that when I/O logging is enabled the initial accept message gets
	sent as part of the remote logging handshake.  GitHub issue #174


 plugins/sudoers/audit.c |  8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

More information about the sudo-commits mailing list