[sudo-commits] sudo changeset 11872:d3244c318c5b

Todd C. Miller Todd.Miller at sudo.ws
Thu Oct 24 20:05:20 MDT 2019


changeset:	11872:d3244c318c5b in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/d3244c318c5b
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Thu Oct 24 20:04:33 2019 -0600

Log Message:
	Read logsrvd.conf in two steps: first read, then apply if OK.
	This fixes a problem where when logsrvd.conf was reloaded while
	running (due to SIGHUP) and there was an error we could end up with
	a partial config.

diffstat:

 include/sudo_iolog.h     |   12 +-
 lib/iolog/iolog_fileio.c |   62 ++-----
 logsrvd/logsrvd_conf.c   |  357 +++++++++++++++++++++++++++++-----------------
 plugins/sudoers/iolog.c  |   44 ++++-
 4 files changed, 286 insertions(+), 189 deletions(-)


More information about the sudo-commits mailing list