summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTodd C. Miller <Todd.Miller@sudo.ws>2022-09-21 19:08:10 -0600
committerTodd C. Miller <Todd.Miller@sudo.ws>2022-09-21 19:08:10 -0600
commit1dae1f88a09a92b61bd442b28d7a284fc1a680df (patch)
tree14b5c9ed4debb5615f00dd2d322f3dd1a76ded11 /docs
parent076f6ad7e52cd632abe15728af55c0cea954d091 (diff)
downloadsudo-1dae1f88a09a92b61bd442b28d7a284fc1a680df.tar.gz
Use sudo_secure_open_file() instead of sudo_secure_file() where possible.
Both sudo_secure_open_file() and sudo_secure_open_dir() are now passed a struct stat pointer like sudo_secure_file() and sudo_secure_dir().
Diffstat (limited to 'docs')
-rw-r--r--docs/sudoers.man.in2
-rw-r--r--docs/sudoers.mdoc.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/sudoers.man.in b/docs/sudoers.man.in
index 4702f2cd4..abe22b5af 100644
--- a/docs/sudoers.man.in
+++ b/docs/sudoers.man.in
@@ -5950,7 +5950,7 @@ line in the
sudo.conf(@mansectform@)
file.
.TP 3n
-unable to stat @sysconfdir@/sudoers
+unable to open @sysconfdir@/sudoers
The
\fI@sysconfdir@/sudoers\fR
file is missing.
diff --git a/docs/sudoers.mdoc.in b/docs/sudoers.mdoc.in
index ddf08db3f..4aeb92004 100644
--- a/docs/sudoers.mdoc.in
+++ b/docs/sudoers.mdoc.in
@@ -5557,7 +5557,7 @@ file) to the end of the
line in the
.Xr sudo.conf @mansectform@
file.
-.It unable to stat @sysconfdir@/sudoers
+.It unable to open @sysconfdir@/sudoers
The
.Pa @sysconfdir@/sudoers
file is missing.