2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-28 12:57:50 +00:00

Clarify that approval close happens after auditing.

Also fix a few typos.
This commit is contained in:
Todd C. Miller 2020-02-10 15:43:25 -07:00
parent 01a53f2865
commit 009788afae
2 changed files with 10 additions and 8 deletions

View File

@ -2459,10 +2459,10 @@ The function arguments are as follows:
.TP 6n .TP 6n
lines lines
.br .br
The number of lines (rows) in the resized terminal. The number of lines (rows) in the re-sized terminal.
.TP 6n .TP 6n
cols cols
The number of columns in the resized terminal. The number of columns in the re-sized terminal.
.TP 6n .TP 6n
errstr errstr
If the If the
@ -3216,7 +3216,8 @@ The plugin is opened before a call to
\fBcheck\fR() \fBcheck\fR()
or or
\fBshow_version\fR() \fBshow_version\fR()
and closed immediately after. and closed shortly thereafter (audit plugin functions must be called
before the plugin is closed).
Multiple approval plugins may be specified in Multiple approval plugins may be specified in
sudo.conf(@mansectform@). sudo.conf(@mansectform@).
.PP .PP
@ -3473,7 +3474,7 @@ The approval
function is run after the policy plugin function is run after the policy plugin
\fBcheck_policy\fR() \fBcheck_policy\fR()
function and before any I/O logging plugins. function and before any I/O logging plugins.
If multiple approval plugins are loaded, they must all succeeed for If multiple approval plugins are loaded, they must all succeed for
the command to be allowed. the command to be allowed.
It returns 1 on success, 0 on failure, \-1 if a general error occurred, It returns 1 on success, 0 on failure, \-1 if a general error occurred,
or \-2 if there was a usage error. or \-2 if there was a usage error.

View File

@ -2188,9 +2188,9 @@ will be made,
The function arguments are as follows: The function arguments are as follows:
.Bl -tag -width 4n .Bl -tag -width 4n
.It lines .It lines
The number of lines (rows) in the resized terminal. The number of lines (rows) in the re-sized terminal.
.It cols .It cols
The number of columns in the resized terminal. The number of columns in the re-sized terminal.
.It errstr .It errstr
If the If the
.Fn change_winsize .Fn change_winsize
@ -2859,7 +2859,8 @@ The plugin is opened before a call to
.Fn check .Fn check
or or
.Fn show_version .Fn show_version
and closed immediately after. and closed shortly thereafter (audit plugin functions must be called
before the plugin is closed).
Multiple approval plugins may be specified in Multiple approval plugins may be specified in
.Xr sudo.conf @mansectform@ . .Xr sudo.conf @mansectform@ .
.Pp .Pp
@ -3088,7 +3089,7 @@ The approval
function is run after the policy plugin function is run after the policy plugin
.Fn check_policy .Fn check_policy
function and before any I/O logging plugins. function and before any I/O logging plugins.
If multiple approval plugins are loaded, they must all succeeed for If multiple approval plugins are loaded, they must all succeed for
the command to be allowed. the command to be allowed.
It returns 1 on success, 0 on failure, \-1 if a general error occurred, It returns 1 on success, 0 on failure, \-1 if a general error occurred,
or \-2 if there was a usage error. or \-2 if there was a usage error.