From 1cdb1ec17c523078424b6f6eea1ac1c366cb8726 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sun, 24 Oct 2010 09:38:11 +0200 Subject: [PATCH] faccessat.2: Note that faccessat() is racy Reported-by: Reuben Thomas Signed-off-by: Michael Kerrisk --- man2/faccessat.2 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/man2/faccessat.2 b/man2/faccessat.2 index 0b1a04aa6..3ebec3723 100644 --- a/man2/faccessat.2 +++ b/man2/faccessat.2 @@ -23,7 +23,7 @@ .\" 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 faccessat \- check user's permissions of a file relative to a \ directory file descriptor @@ -142,6 +142,13 @@ See .BR openat (2) for an explanation of the need for .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 The .B AT_EACCESS