summaryrefslogtreecommitdiff
path: root/doc/glibc-functions/euidaccess.texi
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2010-03-06 19:49:34 +0100
committerBruno Haible <bruno@clisp.org>2010-03-07 16:32:47 +0100
commit89e5b6ba033f08b6ea0d9756d523552b439c2d65 (patch)
tree04d87c2f96d1a41a5f2711ba0a9887b077d510ad /doc/glibc-functions/euidaccess.texi
parent979260e3a53de91ae4792e57a6bb801a723a4539 (diff)
downloadgnulib-89e5b6ba033f08b6ea0d9756d523552b439c2d65.tar.gz
Clarify access, euidaccess, faccessat.
Diffstat (limited to 'doc/glibc-functions/euidaccess.texi')
-rw-r--r--doc/glibc-functions/euidaccess.texi12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/glibc-functions/euidaccess.texi b/doc/glibc-functions/euidaccess.texi
index 5e3939170f..bc43b40a00 100644
--- a/doc/glibc-functions/euidaccess.texi
+++ b/doc/glibc-functions/euidaccess.texi
@@ -15,3 +15,15 @@ IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x, mingw, Interix 3.5, BeOS.
Portability problems not fixed by Gnulib:
@itemize
@end itemize
+
+Other problems of this function:
+@itemize
+@item
+There is an inherent race between calling this function and performing
+some action based on the results; you should think twice before trusting
+this function, especially in a set-uid or set-gid program.
+@item
+This function does not have an option for not following symbolic links
+(like @code{stat} versus @code{lstat}). If you need this option, use
+the Gnulib module @code{faccessat} with the @code{AT_EACCESS} flag.
+@end itemize