Skip to content

Commit 4d331e6

Browse files
committed
Fix some style warnings from "mandoc -Tlint"
1 parent 3ba525a commit 4d331e6

File tree

4 files changed

+30
-22
lines changed

4 files changed

+30
-22
lines changed

docs/cvtsudoers.man.in

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
.\"
33
.\" SPDX-License-Identifier: ISC
44
.\"
5-
.\" Copyright (c) 2018, 2021-2023 Todd C. Miller <[email protected]>
5+
.\" Copyright (c) 2018, 2021-2025 Todd C. Miller <[email protected]>
66
.\"
77
.\" Permission to use, copy, modify, and distribute this software for any
88
.\" purpose with or without fee is hereby granted, provided that the above
@@ -16,7 +16,7 @@
1616
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1717
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1818
.\"
19-
.TH "CVTSUDOERS" "1" "April 26, 2024" "Sudo @PACKAGE_VERSION@" "General Commands Manual"
19+
.TH "CVTSUDOERS" "1" "February 22, 2025" "Sudo @PACKAGE_VERSION@" "General Commands Manual"
2020
.nh
2121
.if n .ad l
2222
.SH "NAME"
@@ -47,7 +47,7 @@ utility accepts one or more security policies in either
4747
or LDIF format as input, and generates a single
4848
policy of the specified format as output.
4949
The default input format is
50-
\fIsudoers.\fR
50+
\fIsudoers\fR.
5151
The default output format is LDIF.
5252
It is only possible to convert a policy file that is syntactically correct.
5353
.PP
@@ -888,7 +888,8 @@ array, an optional
888888
array, an optional
889889
\fIrunasgroups\fR
890890
array, and an optional
891-
\fIOptions array.\fR
891+
\fIOptions\fR
892+
array.
892893
.sp
893894
The
894895
\fICommands\fR

docs/cvtsudoers.mdoc.in

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.\"
22
.\" SPDX-License-Identifier: ISC
33
.\"
4-
.\" Copyright (c) 2018, 2021-2023 Todd C. Miller <[email protected]>
4+
.\" Copyright (c) 2018, 2021-2025 Todd C. Miller <[email protected]>
55
.\"
66
.\" Permission to use, copy, modify, and distribute this software for any
77
.\" purpose with or without fee is hereby granted, provided that the above
@@ -15,7 +15,7 @@
1515
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1616
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1717
.\"
18-
.Dd April 26, 2024
18+
.Dd February 22, 2025
1919
.Dt CVTSUDOERS 1
2020
.Os Sudo @PACKAGE_VERSION@
2121
.Sh NAME
@@ -45,7 +45,7 @@ utility accepts one or more security policies in either
4545
or LDIF format as input, and generates a single
4646
policy of the specified format as output.
4747
The default input format is
48-
.Em sudoers.
48+
.Em sudoers .
4949
The default output format is LDIF.
5050
It is only possible to convert a policy file that is syntactically correct.
5151
.Pp
@@ -775,7 +775,8 @@ array, an optional
775775
array, an optional
776776
.Em runasgroups
777777
array, and an optional
778-
.Em Options array.
778+
.Em Options
779+
array.
779780
.Pp
780781
The
781782
.Em Commands

docs/sudo_plugin_python.man.in

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,8 @@ validate(self)
479479
.fi
480480
.RS 6n
481481
.sp
482-
For policy plugins that cache authentication credentials, this function is used to validate and cache the credentials (optional).
482+
For policy plugins that cache authentication credentials,
483+
this function is used to validate and cache the credentials (optional).
483484
.RE
484485
.TP 6n
485486
\fIinvalidate\fR
@@ -490,7 +491,8 @@ invalidate(self, remove: int)
490491
.fi
491492
.RS 6n
492493
.sp
493-
For policy plugins that cache authentication credentials, this function is used to invalidate the credentials (optional).
494+
For policy plugins that cache authentication credentials,
495+
this function is used to invalidate the credentials (optional).
494496
.sp
495497
The function arguments are as follows:
496498
.TP 6n
@@ -553,8 +555,8 @@ The exit status of the command if was executed, otherwise \-1.
553555
.TP 6n
554556
\fIerror\fR
555557
.br
556-
If the command could not be executed, this is set to the value of
557-
errno set by the
558+
If the command could not be executed,
559+
this is set to the value of errno set by the
558560
execve(2)
559561
system call, otherwise 0.
560562
.PD 0
@@ -853,8 +855,8 @@ The exit status of the command if was executed, otherwise \-1.
853855
.TP 6n
854856
\fIerror\fR
855857
.br
856-
If the command could not be executed, this is set to the value of
857-
errno set by the
858+
If the command could not be executed,
859+
this is set to the value of errno set by the
858860
execve(2)
859861
system call, otherwise 0.
860862
.PD 0
@@ -887,7 +889,8 @@ Plugin python_audit @python_plugin@ ModulePath=<path> ClassName=<class>
887889
Sudo supports loading multiple audit plugins.
888890
Currently only 8 python audit plugins can be loaded at once.
889891
.PP
890-
An audit plugin may have the following member functions (all of which are optional):
892+
An audit plugin may have the following member functions
893+
(all of which are optional):
891894
.TP 6n
892895
\fIconstructor\fR
893896
.nf

docs/sudo_plugin_python.mdoc.in

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -401,13 +401,15 @@ the plugin should list the privileges of the invoking user.
401401
validate(self)
402402
.Ed
403403
.Pp
404-
For policy plugins that cache authentication credentials, this function is used to validate and cache the credentials (optional).
404+
For policy plugins that cache authentication credentials,
405+
this function is used to validate and cache the credentials (optional).
405406
.It Fa invalidate
406407
.Bd -literal -compact
407408
invalidate(self, remove: int)
408409
.Ed
409410
.Pp
410-
For policy plugins that cache authentication credentials, this function is used to invalidate the credentials (optional).
411+
For policy plugins that cache authentication credentials,
412+
this function is used to invalidate the credentials (optional).
411413
.Pp
412414
The function arguments are as follows:
413415
.Bl -tag -width 4n
@@ -453,8 +455,8 @@ The function arguments are as follows:
453455
.It Fa exit_status
454456
The exit status of the command if was executed, otherwise \-1.
455457
.It Fa error
456-
If the command could not be executed, this is set to the value of
457-
errno set by the
458+
If the command could not be executed,
459+
this is set to the value of errno set by the
458460
.Xr execve 2
459461
system call, otherwise 0.
460462
.El
@@ -695,8 +697,8 @@ The function arguments are as follows:
695697
.It Fa exit_status
696698
The exit status of the command if was executed, otherwise \-1.
697699
.It Fa error
698-
If the command could not be executed, this is set to the value of
699-
errno set by the
700+
If the command could not be executed,
701+
this is set to the value of errno set by the
700702
.Xr execve 2
701703
system call, otherwise 0.
702704
.El
@@ -721,7 +723,8 @@ Plugin python_audit @python_plugin@ ModulePath=<path> ClassName=<class>
721723
Sudo supports loading multiple audit plugins.
722724
Currently only 8 python audit plugins can be loaded at once.
723725
.Pp
724-
An audit plugin may have the following member functions (all of which are optional):
726+
An audit plugin may have the following member functions
727+
(all of which are optional):
725728
.Bl -tag -width 4n
726729
.It Fa constructor
727730
.Bd -literal -compact

0 commit comments

Comments
 (0)