document that kernel tty timestamps don't support negative timeouts

This commit is contained in:
Todd C. Miller
2018-01-24 05:27:54 -07:00
parent b3601253e6
commit eb8b5c7964
3 changed files with 10 additions and 14 deletions

View File

@@ -1867,9 +1867,9 @@ SSUUDDOOEERRSS OOPPTTIIOONNSS
kernel The time stamp is stored in the kernel as an kernel The time stamp is stored in the kernel as an
attribute of the terminal device. If no attribute of the terminal device. If no
terminal is present, the behavior is the same terminal is present, the behavior is the same
as _p_p_i_d. The maximum value of as _p_p_i_d. Negative _t_i_m_e_s_t_a_m_p___t_i_m_e_o_u_t values are
_t_i_m_e_s_t_a_m_p___t_i_m_e_o_u_t is limited to 3600 when using not supported and positive values are limited
_k_e_r_n_e_l time stamps. This is currently only to a maximum of 3600. This is currently only
supported on OpenBSD. supported on OpenBSD.
The default value is _t_t_y. The default value is _t_t_y.
@@ -2897,4 +2897,4 @@ DDIISSCCLLAAIIMMEERR
file distributed with ssuuddoo or https://www.sudo.ws/license.html for file distributed with ssuuddoo or https://www.sudo.ws/license.html for
complete details. complete details.
Sudo 1.8.22 January 23, 2018 Sudo 1.8.22 Sudo 1.8.22 January 24, 2018 Sudo 1.8.22

View File

@@ -21,7 +21,7 @@
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force .\" Agency (DARPA) and Air Force Research Laboratory, Air Force
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512. .\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\" .\"
.TH "SUDOERS" "5" "January 23, 2018" "Sudo @PACKAGE_VERSION@" "File Formats Manual" .TH "SUDOERS" "5" "January 24, 2018" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
.nh .nh
.if n .ad l .if n .ad l
.SH "NAME" .SH "NAME"
@@ -3719,11 +3719,9 @@ The time stamp is stored in the kernel as an attribute of the terminal
device. device.
If no terminal is present, the behavior is the same as If no terminal is present, the behavior is the same as
\fIppid\fR. \fIppid\fR.
The maximum value of Negative
\fItimestamp_timeout\fR \fItimestamp_timeout\fR
is limited to 3600 when using values are not supported and positive values are limited to a maximum of 3600.
\fIkernel\fR
time stamps.
This is currently only supported on OpenBSD. This is currently only supported on OpenBSD.
.PP .PP
The default value is The default value is

View File

@@ -19,7 +19,7 @@
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force .\" Agency (DARPA) and Air Force Research Laboratory, Air Force
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512. .\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\" .\"
.Dd January 23, 2018 .Dd January 24, 2018
.Dt SUDOERS @mansectform@ .Dt SUDOERS @mansectform@
.Os Sudo @PACKAGE_VERSION@ .Os Sudo @PACKAGE_VERSION@
.Sh NAME .Sh NAME
@@ -3480,11 +3480,9 @@ The time stamp is stored in the kernel as an attribute of the terminal
device. device.
If no terminal is present, the behavior is the same as If no terminal is present, the behavior is the same as
.Em ppid . .Em ppid .
The maximum value of Negative
.Em timestamp_timeout .Em timestamp_timeout
is limited to 3600 when using values are not supported and positive values are limited to a maximum of 3600.
.Em kernel
time stamps.
This is currently only supported on OpenBSD. This is currently only supported on OpenBSD.
.El .El
.Pp .Pp