[sudo-commits] sudo changeset 12848:e0d4f196ba02

Todd C. Miller Todd.Miller at sudo.ws
Fri Jan 29 05:43:25 MST 2021


changeset:	12848:e0d4f196ba02 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/e0d4f196ba02
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Fri Jan 29 05:42:34 2021 -0700

Log Message:
	Fix NO_ROOT_MAILER, broken by the eventlog refactor in sudo 1.9.4.
	init_eventlog_config() is called immediately after initializing the
	Defaults settings, which is before struct sudo_user is setup.  This
	adds a call to eventlog_set_mailuid() if NO_ROOT_MAILER is defined
	after the invoking user is determined.  Reported by Roman Fiedler.

diffstat:

 plugins/sudoers/logging.c |  7 +------
 plugins/sudoers/policy.c  |  4 ++++
 2 files changed, 5 insertions(+), 6 deletions(-)



More information about the sudo-commits mailing list