[sudo-commits] sudo changeset 12166:361aab49325f
Todd C. Miller
Todd.Miller at sudo.ws
Thu Jan 30 21:23:03 MST 2020
changeset: 12166:361aab49325f in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/361aab49325f
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Thu Jan 30 13:25:34 2020 -0700
Log Message:
Define a new plugin type that receives accept and reject messages.
This can be used to implement logging-only plugins.
The plugin functions now take an errstr argument that can be used
to return an error string to be logged on failure or error.
diffstat:
doc/sudo_plugin.mdoc.in | 492 ++++++++++++++++++++++++++++++++++++++++------
include/sudo_plugin.h | 59 ++++-
src/exec_pty.c | 67 ++++-
src/load_plugins.c | 26 +-
src/parse_args.c | 26 ++-
src/sudo.c | 507 ++++++++++++++++++++++++++++++++++++++---------
src/sudo.h | 8 +-
src/sudo_plugin_int.h | 5 +-
8 files changed, 981 insertions(+), 209 deletions(-)
More information about the sudo-commits
mailing list