From b35cc96f0edd6b94cc453d150c33dc85b945fe41 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sun, 2 Feb 2020 16:12:39 -0700 Subject: [PATCH] Update documentation for setbase when the given base is NULL. --- doc/sudo_plugin.mdoc.in | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/sudo_plugin.mdoc.in b/doc/sudo_plugin.mdoc.in index e522ed41f..143f10e05 100644 --- a/doc/sudo_plugin.mdoc.in +++ b/doc/sudo_plugin.mdoc.in @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd January 30, 2020 +.Dd February 2, 2020 .Dt SUDO_PLUGIN @mansectform@ .Os Sudo @PACKAGE_VERSION@ .Sh NAME @@ -3225,6 +3225,14 @@ to the specified value. This can be used to move an event created via .Fn event_alloc to a new event loop allocated by sudo's event subsystem. +If +.Fa base +is +.Dv NULL , +.Fa pev Ns 's +event base is reset to the default value, which corresponds to +.Nm sudo Ns 's +main event loop. Using this function requires linking the plugin with the sudo_util library. It is unlikely to be used outside of the