Document resource limit support in command_info[] and Bump plugin API minor.

This is supported beginning with sudo 1.9.9 and plugin API 1.17.
This commit is contained in:
Todd C. Miller
2021-11-09 12:57:25 -07:00
parent 19065cb221
commit 7c8746bc70
4 changed files with 360 additions and 4 deletions

View File

@@ -314,7 +314,7 @@ sudo_terminated(struct command_status *cstat)
debug_return_bool(false);
}
#if SUDO_API_VERSION != SUDO_API_MKVERSION(1, 17)
#if SUDO_API_VERSION != SUDO_API_MKVERSION(1, 18)
# error "Update sudo_needs_pty() after changing the plugin API"
#endif
static bool