X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fposix-functions%2Faccess.texi;h=2609fa93688d6580a61542a5d5f8501fc3b4cdeb;hb=a8f388076c6bc5ec6a9dd191ca703d23d9c22850;hp=8da410d03578828ce08d133df12a502256174a17;hpb=a5c314221f0de1ba5cab590ba47a515fcd517d90;p=gnulib.git diff --git a/doc/posix-functions/access.texi b/doc/posix-functions/access.texi index 8da410d03..2609fa936 100644 --- a/doc/posix-functions/access.texi +++ b/doc/posix-functions/access.texi @@ -16,8 +16,16 @@ Portability problems not fixed by Gnulib: This function uses the effective id instead of the real id on some platforms: Cygwin 1.5.x. +@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 in a set-uid or set-gid program. +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