From patchwork Mon May 4 05:41:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 1282189 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=deneb.enyo.de Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49FsCq1Ck3z9sSr for ; Mon, 4 May 2020 15:41:11 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 60ED2386F816; Mon, 4 May 2020 05:41:08 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from albireo.enyo.de (albireo.enyo.de [37.24.231.21]) by sourceware.org (Postfix) with ESMTPS id 383F53851C01 for ; Mon, 4 May 2020 05:41:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 383F53851C01 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=deneb.enyo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=fw@deneb.enyo.de Received: from [172.17.203.2] (helo=deneb.enyo.de) by albireo.enyo.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1jVTqi-0006O0-76 for libc-alpha@sourceware.org; Mon, 04 May 2020 05:41:04 +0000 Received: from fw by deneb.enyo.de with local (Exim 4.92) (envelope-from ) id 1jVTqi-0005wP-4w for libc-alpha@sourceware.org; Mon, 04 May 2020 07:41:04 +0200 From: Florian Weimer To: libc-alpha@sourceware.org Subject: [PATCH] manual: Document the O_NOFOLLOW open flag Date: Mon, 04 May 2020 07:41:04 +0200 Message-ID: <87sgggxnnz.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 X-Spam-Status: No, score=-22.3 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" ----- 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