diff options
-rw-r--r-- | Doc/lib/libos.tex | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex index 2fbe66936f..e5b5962d99 100644 --- a/Doc/lib/libos.tex +++ b/Doc/lib/libos.tex @@ -680,6 +680,11 @@ test permissions. Return \constant{True} if access is allowed, \constant{False} if not. See the \UNIX{} man page \manpage{access}{2} for more information. Availability: Macintosh, \UNIX, Windows. + +\note{Using \function{access()} to check if a user is authorized to e.g. +open a file before actually doing so using \function{open()} creates a +security hole, because the user might exploit the short time interval +between checking and opening the file to manipulate it.} \end{funcdesc} \begin{datadesc}{F_OK} |