From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2178) id D3B25387086F; Tue, 5 May 2020 07:43:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D3B25387086F Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Florian Weimer To: glibc-cvs@sourceware.org Subject: [glibc] manual: Document the O_NOFOLLOW open flag X-Act-Checkin: glibc X-Git-Author: Florian Weimer X-Git-Refname: refs/heads/master X-Git-Oldrev: 4a4db1de2f0fd936b583698dcc1b1c12a71828c8 X-Git-Newrev: ad14f4f8db4548244a8f694674ad96c81da52e8b Message-Id: <20200505074307.D3B25387086F@sourceware.org> Date: Tue, 5 May 2020 07:43:07 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 07:43:07 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ad14f4f8db4548244a8f694674ad96c81da52e8b commit ad14f4f8db4548244a8f694674ad96c81da52e8b Author: Florian Weimer Date: Tue May 5 09:23:53 2020 +0200 manual: Document the O_NOFOLLOW open flag Diff: --- manual/llio.texi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/manual/llio.texi b/manual/llio.texi index fe59002915..6db4a70836 100644 --- a/manual/llio.texi +++ b/manual/llio.texi @@ -3678,6 +3678,13 @@ a directory. The @code{errno} variable is set to @code{ENOTDIR} for this error condition. @end deftypevr +@deftypevr Macro int O_NOFOLLOW +@standards{POSIX.1, fcntl.h} +If set, the open operation fails if the final component of the file name +refers to a symbolic link. The @code{errno} variable is set to +@code{ELOOP} for this error condition. +@end deftypevr + @deftypevr Macro int O_TMPFILE @standards{GNU, fcntl.h} If this flag is specified, functions in the @code{open} family create an