comparison 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
comparison
equal deleted inserted replaced
11944:660d7f74a5e8 11945:2cf208dc022b
2 @section @code{faccessat} 2 @section @code{faccessat}
3 @findex faccessat 3 @findex faccessat
4 4
5 POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/faccessat.html} 5 POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/faccessat.html}
6 6
7 Gnulib module: --- 7 Gnulib module: faccessat
8 8
9 Portability problems fixed by Gnulib: 9 Portability problems fixed by Gnulib:
10 @itemize 10 @itemize
11 @item
12 This function is missing on some platforms:
13 glibc 2.3.6, MacOS X 10.3, FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8, AIX
14 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x, mingw,
15 Interix 3.5, BeOS.
16 However, the replacement does not always take into account ACLs.
11 @end itemize 17 @end itemize
12 18
13 Portability problems not fixed by Gnulib: 19 Portability problems not fixed by Gnulib:
14 @itemize 20 @itemize
15 @item 21 @item
16 This function is missing on some platforms: 22 There is an inherent race between calling this function and performing
17 glibc 2.3.6, MacOS X 10.3, FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8, AIX 23 some action based on the results; you should think twice before
18 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x, mingw, Interix 3.5, BeOS. 24 trusting this function in a set-uid or set-gid program.
19 @end itemize 25 @end itemize