Bump the sudo plugin minor version.

The "update_ticket" entry was added to the settings list and the
"intercept_verify" entry was added to the command_info list.
This commit is contained in:
Todd C. Miller
2022-08-02 14:28:29 -06:00
parent 556dacf1ff
commit 9c61d7e6e9
4 changed files with 19 additions and 6 deletions

View File

@@ -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 May 26, 2022
.Dd August 2, 2022
.Dt SUDO_PLUGIN @mansectform@
.Os Sudo @PACKAGE_VERSION@
.Sh NAME
@@ -4771,7 +4771,20 @@ entries were added to the
.Li settings
list.
The
.Em user_ptrace
.Em apparmor_profile
and
.Em use_ptrace
entries were added to the
.Li command_info
list.
.It Version 1.20 (sudo 1.9.12)
The
.Em update_ticket
entry was added to the
.Li settings
list.
The
.Em intercept_verify
entry was added to the
.Li command_info
list.

View File

@@ -21,7 +21,7 @@
/* API version major/minor */
#define SUDO_API_VERSION_MAJOR 1
#define SUDO_API_VERSION_MINOR 19
#define SUDO_API_VERSION_MINOR 20
#define SUDO_API_MKVERSION(x, y) (((x) << 16) | (y))
#define SUDO_API_VERSION SUDO_API_MKVERSION(SUDO_API_VERSION_MAJOR, SUDO_API_VERSION_MINOR)

View File

@@ -26,7 +26,7 @@
"INFO1=VALUE1",
"info2=value2"
],
"version": "1.19"
"version": "1.20"
}
(APPROVAL 2) Constructed:
{
@@ -56,7 +56,7 @@
"INFO1=VALUE1",
"info2=value2"
],
"version": "1.19"
"version": "1.20"
}
(APPROVAL 1) Show version was called with arguments: (0,)
Python approval plugin (API 1.0): ApprovalTestPlugin (loaded from 'SRC_DIR/regress/plugin_approval_test.py')

View File

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