view doc/posix-functions/faccessat.texi @ 11945:2cf208dc022b

faccessat: new module * modules/faccessat: New file. * lib/faccessat.m4: Likewise. * m4/faccessat.m4 (gl_FUNC_FACCESSAT): Likewise. * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Add witness. * modules/unistd (Makefile.am): Use it. * lib/unistd.in.h (faccessat): Declare it. (F_OK, X_OK, W_OK, R_OK): Provide definitions. * lib/fcntl.in.h (AT_SYMLINK_FOLLOW, AT_EACCESS): Likewise. * MODULES.html.sh (File system functions): Mention it. * doc/posix-functions/faccessat.texi (faccessat): Likewise. * doc/posix-headers/fcntl.texi (fcntl.h): Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Thu, 03 Sep 2009 13:41:18 -0600
parents e578654f58d3
children 8e8f0292e99f
line wrap: on
line source

@node faccessat
@section @code{faccessat}
@findex faccessat

POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/faccessat.html}

Gnulib module: faccessat

Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
glibc 2.3.6, MacOS X 10.3, FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8, AIX
5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x, mingw,
Interix 3.5, BeOS.
However, the replacement does not always take into account ACLs.
@end itemize

Portability problems not fixed by Gnulib:
@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.
@end itemize