mirror of https://github.com/mkerrisk/man-pages
faccessat.2: Note that faccessat() is racy
Reported-by: Reuben Thomas <rrt@sc3d.org> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
8d81c0c9e6
commit
1cdb1ec17c
|
@ -23,7 +23,7 @@
|
||||||
.\" the source, must acknowledge the copyright and authors of this work.
|
.\" the source, must acknowledge the copyright and authors of this work.
|
||||||
.\"
|
.\"
|
||||||
.\"
|
.\"
|
||||||
.TH FACCESSAT 2 2009-12-13 "Linux" "Linux Programmer's Manual"
|
.TH FACCESSAT 2 2010-10-24 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
faccessat \- check user's permissions of a file relative to a \
|
faccessat \- check user's permissions of a file relative to a \
|
||||||
directory file descriptor
|
directory file descriptor
|
||||||
|
@ -142,6 +142,13 @@ See
|
||||||
.BR openat (2)
|
.BR openat (2)
|
||||||
for an explanation of the need for
|
for an explanation of the need for
|
||||||
.BR faccessat ().
|
.BR faccessat ().
|
||||||
|
|
||||||
|
.IR Warning :
|
||||||
|
.BR faccessat ()
|
||||||
|
is subject to the same kinds of races as
|
||||||
|
.BR access (2)
|
||||||
|
and
|
||||||
|
.BR euidaccess (3).
|
||||||
.SS Glibc Notes
|
.SS Glibc Notes
|
||||||
The
|
The
|
||||||
.B AT_EACCESS
|
.B AT_EACCESS
|
||||||
|
|
Loading…
Reference in New Issue