[sudo-commits] sudo changeset 12222:6611bafc8ace

Todd C. Miller Todd.Miller at sudo.ws
Mon Feb 10 15:30:53 MST 2020


changeset:	12222:6611bafc8ace in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/6611bafc8ace
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Mon Feb 10 15:29:48 2020 -0700

Log Message:
	Add open and close functions to the approval plugin API.
	We need a close function to be able to to free memory allocated for
	errstr.  Unlike the other plugins, the close function is called
	immediately after the plugin's check or show_version function.
	The plugin does not remain open until the command completes.

diffstat:

 doc/sudo_plugin.man.in                    |  242 +++++++++++++++++++---
 doc/sudo_plugin.mdoc.in                   |  313 ++++++++++++++++++++++-------
 include/sudo_plugin.h                     |   12 +-
 plugins/sample_approval/sample_approval.c |   96 +++++---
 src/sudo.c                                |  140 +++++++++----
 5 files changed, 605 insertions(+), 198 deletions(-)


More information about the sudo-commits mailing list