Skip to content

Commit 6a5a8f5

Browse files
committed
Document that ttydev is formatted as a long long.
1 parent cc8c43c commit 6a5a8f5

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

docs/sudo_plugin.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) 2009-2023 Todd C. Miller <Todd.Miller@sudo.ws>
5+
.\" Copyright (c) 2009-2024 Todd C. Miller <Todd.Miller@sudo.ws>
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 "SUDO_PLUGIN" "5" "November 25, 2023" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
19+
.TH "SUDO_PLUGIN" "5" "August 14, 2024" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
2020
.nh
2121
.if n .ad l
2222
.SH "NAME"
@@ -680,8 +680,9 @@ associated with the session.
680680
.TP 6n
681681
ttydev=dev_t
682682
The number of the user's terminal device, if one exists,
683-
in the form of a
684-
\fIdev_t\fR.
683+
formatted as a
684+
\fIlong long\fR
685+
value.
685686
This entry is only present if the user has a terminal device
686687
associated with the session.
687688
Only available starting with API version 1.22.

docs/sudo_plugin.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) 2009-2023 Todd C. Miller <Todd.Miller@sudo.ws>
4+
.\" Copyright (c) 2009-2024 Todd C. Miller <Todd.Miller@sudo.ws>
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 November 25, 2023
18+
.Dd August 14, 2024
1919
.Dt SUDO_PLUGIN @mansectform@
2020
.Os Sudo @PACKAGE_VERSION@
2121
.Sh NAME
@@ -605,8 +605,9 @@ This entry is only present if the user has a terminal device
605605
associated with the session.
606606
.It ttydev=dev_t
607607
The number of the user's terminal device, if one exists,
608-
in the form of a
609-
.Vt dev_t .
608+
formatted as a
609+
.Vt long long
610+
value.
610611
This entry is only present if the user has a terminal device
611612
associated with the session.
612613
Only available starting with API version 1.22.

0 commit comments

Comments
 (0)