summaryrefslogtreecommitdiff
path: root/gnulib/doc/glibc-functions/euidaccess.texi
blob: 9ce6bc62afae27069015d5d547b6050647f66dec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
@node euidaccess
@subsection @code{euidaccess}
@findex euidaccess

Gnulib module: euidaccess

Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on many non-glibc platforms:
MacOS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11,
IRIX 6.5, OSF/1 5.1, Solaris 11 2010-11, Cygwin 1.5.x, mingw, MSVC 9, Interix 3.5, BeOS.
@end itemize

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