From: Todd C. Miller Date: Wed, 24 Jan 2018 12:27:54 +0000 (-0700) Subject: document that kernel tty timestamps don't support negative timeouts X-Git-Tag: SUDO_1_8_23^2~187 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eb8b5c79646158158bbd8fd1f90c3e120d43c582;p=sudo document that kernel tty timestamps don't support negative timeouts --- diff --git a/doc/sudoers.cat b/doc/sudoers.cat index 057a69958..ac46bccb1 100644 --- a/doc/sudoers.cat +++ b/doc/sudoers.cat @@ -1867,9 +1867,9 @@ SSUUDDOOEERRSS OOPPTTIIOONNSS kernel The time stamp is stored in the kernel as an attribute of the terminal device. If no terminal is present, the behavior is the same - as _p_p_i_d. The maximum value of - _t_i_m_e_s_t_a_m_p___t_i_m_e_o_u_t is limited to 3600 when using - _k_e_r_n_e_l time stamps. This is currently only + as _p_p_i_d. Negative _t_i_m_e_s_t_a_m_p___t_i_m_e_o_u_t values are + not supported and positive values are limited + to a maximum of 3600. This is currently only supported on OpenBSD. The default value is _t_t_y. @@ -2897,4 +2897,4 @@ DDIISSCCLLAAIIMMEERR file distributed with ssuuddoo or https://www.sudo.ws/license.html for complete details. -Sudo 1.8.22 January 23, 2018 Sudo 1.8.22 +Sudo 1.8.22 January 24, 2018 Sudo 1.8.22 diff --git a/doc/sudoers.man.in b/doc/sudoers.man.in index 009fd13c8..43f457e76 100644 --- a/doc/sudoers.man.in +++ b/doc/sudoers.man.in @@ -21,7 +21,7 @@ .\" Agency (DARPA) and Air Force Research Laboratory, Air Force .\" 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 .if n .ad l .SH "NAME" @@ -3719,11 +3719,9 @@ The time stamp is stored in the kernel as an attribute of the terminal device. If no terminal is present, the behavior is the same as \fIppid\fR. -The maximum value of +Negative \fItimestamp_timeout\fR -is limited to 3600 when using -\fIkernel\fR -time stamps. +values are not supported and positive values are limited to a maximum of 3600. This is currently only supported on OpenBSD. .PP The default value is diff --git a/doc/sudoers.mdoc.in b/doc/sudoers.mdoc.in index 9f47beedf..af2d19a1a 100644 --- a/doc/sudoers.mdoc.in +++ b/doc/sudoers.mdoc.in @@ -19,7 +19,7 @@ .\" Agency (DARPA) and Air Force Research Laboratory, Air Force .\" Materiel Command, USAF, under agreement number F39502-99-1-0512. .\" -.Dd January 23, 2018 +.Dd January 24, 2018 .Dt SUDOERS @mansectform@ .Os Sudo @PACKAGE_VERSION@ .Sh NAME @@ -3480,11 +3480,9 @@ The time stamp is stored in the kernel as an attribute of the terminal device. If no terminal is present, the behavior is the same as .Em ppid . -The maximum value of +Negative .Em timestamp_timeout -is limited to 3600 when using -.Em kernel -time stamps. +values are not supported and positive values are limited to a maximum of 3600. This is currently only supported on OpenBSD. .El .Pp