From 00f663d54d357fae09b6579d5fd916a192de17d2 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 10 Feb 2015 09:37:10 -0700 Subject: [PATCH] Document that a leading ':' is skipped when checking TZ for a fully-qualified path name. --- doc/sudoers.cat | 6 +++--- doc/sudoers.man.in | 6 ++++-- doc/sudoers.mdoc.in | 6 ++++-- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/doc/sudoers.cat b/doc/sudoers.cat index 745e26b88..0351a7e1e 100644 --- a/doc/sudoers.cat +++ b/doc/sudoers.cat @@ -1670,9 +1670,9 @@ SSUUDDOOEERRSS OOPPTTIIOONNSS programs. The TZ variable is considered unsafe if any of the following are true: - ++oo It consists of a fully-qualified path name that - does not match the location of the _z_o_n_e_i_n_f_o - directory. + ++oo It consists of a fully-qualified path name + (optionally prefixed with a colon `:') that does + not match the location of the _z_o_n_e_i_n_f_o directory. ++oo It contains a _._. path element. diff --git a/doc/sudoers.man.in b/doc/sudoers.man.in index 339883ace..b7c358a9a 100644 --- a/doc/sudoers.man.in +++ b/doc/sudoers.man.in @@ -3435,8 +3435,10 @@ variable is considered unsafe if any of the following are true: .PD 0 .TP 4n \fB\(bu\fR -It consists of a fully-qualified path name that does not match -the location of the +It consists of a fully-qualified path name +(optionally prefixed with a colon +\(oq:\&\(cq) +that does not match the location of the \fIzoneinfo\fR directory. .PD diff --git a/doc/sudoers.mdoc.in b/doc/sudoers.mdoc.in index f9fda4ec1..ecea0b988 100644 --- a/doc/sudoers.mdoc.in +++ b/doc/sudoers.mdoc.in @@ -3188,8 +3188,10 @@ The variable is considered unsafe if any of the following are true: .Bl -bullet .It -It consists of a fully-qualified path name that does not match -the location of the +It consists of a fully-qualified path name +(optionally prefixed with a colon +.Ql :\& ) +that does not match the location of the .Pa zoneinfo directory. .It -- 2.40.0