Skip to content

Commit

Permalink
Document that ttydev is formatted as a long long.
Browse files Browse the repository at this point in the history
  • Loading branch information
millert committed Aug 14, 2024
1 parent cc8c43c commit 6a5a8f5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions docs/sudo_plugin.man.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.\"
.\" SPDX-License-Identifier: ISC
.\"
.\" Copyright (c) 2009-2023 Todd C. Miller <Todd.Miller@sudo.ws>
.\" Copyright (c) 2009-2024 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
Expand All @@ -16,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.
.\"
.TH "SUDO_PLUGIN" "5" "November 25, 2023" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
.TH "SUDO_PLUGIN" "5" "August 14, 2024" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
.nh
.if n .ad l
.SH "NAME"
Expand Down Expand Up @@ -680,8 +680,9 @@ associated with the session.
.TP 6n
ttydev=dev_t
The number of the user's terminal device, if one exists,
in the form of a
\fIdev_t\fR.
formatted as a
\fIlong long\fR
value.
This entry is only present if the user has a terminal device
associated with the session.
Only available starting with API version 1.22.
Expand Down
9 changes: 5 additions & 4 deletions docs/sudo_plugin.mdoc.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\"
.\" SPDX-License-Identifier: ISC
.\"
.\" Copyright (c) 2009-2023 Todd C. Miller <Todd.Miller@sudo.ws>
.\" Copyright (c) 2009-2024 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
Expand All @@ -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 November 25, 2023
.Dd August 14, 2024
.Dt SUDO_PLUGIN @mansectform@
.Os Sudo @PACKAGE_VERSION@
.Sh NAME
Expand Down Expand Up @@ -605,8 +605,9 @@ This entry is only present if the user has a terminal device
associated with the session.
.It ttydev=dev_t
The number of the user's terminal device, if one exists,
in the form of a
.Vt dev_t .
formatted as a
.Vt long long
value.
This entry is only present if the user has a terminal device
associated with the session.
Only available starting with API version 1.22.
Expand Down

0 comments on commit 6a5a8f5

Please sign in to comment.