Use the Oxford comma consistently, it is helpful in technical documents.

This commit is contained in:
Todd C. Miller
2022-01-19 18:41:23 -07:00
parent 144e578324
commit 0d0e7de454
24 changed files with 295 additions and 295 deletions

View File

@@ -2,6 +2,7 @@
.\" SPDX-License-Identifier: ISC
.\"
.\" Copyright (c) 2019-2021 Robert Manner <robert.manner@oneidentity.com>
.\" Copyright (c) 2019-2022 Todd C. Miller <Todd.Miller@sudo.ws>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
@@ -15,7 +16,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.Dd September 17, 2021
.Dd January 19, 2022
.Dt SUDO_PLUGIN_PYTHON @mansectform@
.Os Sudo @PACKAGE_VERSION@
.Sh NAME
@@ -86,7 +87,7 @@ The actual methods required depent on the type of the plugin,
but most return an
.Dq int
result code, as documented in
.Xr sudo_plugin @mansctsu@ ,
.Xr sudo_plugin @mansectsu@ ,
that indicates whether or not the method was successful.
The Python sudo module defines the following constants to improve readability:
.Bl -column "sudo.RC.USAGE_ERROR" "XXX" -offset 4n
@@ -280,7 +281,7 @@ strings.
.Pp
To accept a command, at the very minimum the plugin must set in the
.Em command ,
.Em runas_uid
.Em runas_uid ,
and
.Em runas_gid
keys.
@@ -581,7 +582,7 @@ log_stderr(self, buf: str) -> int
.Ed
.Pp
Receive the user input or output of the terminal device and
application standard input / output / error.
application standard input, standard output, or standard error.
See the matching calls in
.Xr sudo_plugin @mansectform@ .
.Pp
@@ -817,7 +818,7 @@ front-end.
.It plugin_type
The type of plugin that accepted the command, currently either
.Dv sudo.PLUGIN_TYPE.POLICY ,
.Dv sudo.PLUGIN_TYPE.APPROVAL
.Dv sudo.PLUGIN_TYPE.APPROVAL ,
or
.Dv sudo.PLUGIN_TYPE.SUDO .
The
@@ -866,7 +867,7 @@ The name of the plugin that rejected the command.
.It plugin_type
The type of plugin that rejected the command, currently either
.Dv sudo.PLUGIN_TYPE.POLICY ,
.Dv sudo.PLUGIN_TYPE.APPROVAL
.Dv sudo.PLUGIN_TYPE.APPROVAL ,
or
.Dv sudo.PLUGIN_TYPE.IO .
.Pp