From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from albireo.enyo.de (albireo.enyo.de [37.24.231.21]) by sourceware.org (Postfix) with ESMTPS id 5DC63398794E for ; Tue, 12 May 2020 07:19:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5DC63398794E 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 1jYPBu-00015L-Nx; Tue, 12 May 2020 07:19:02 +0000 Received: from fw by deneb.enyo.de with local (Exim 4.92) (envelope-from ) id 1jYPBu-0004Gb-LD; Tue, 12 May 2020 09:19:02 +0200 From: Florian Weimer To: Michael Kerrisk Cc: libc-alpha Subject: Re: [PATCH] manual: Add Descriptor-Relative Access section References: <87d07p9v73.fsf@mid.deneb.enyo.de> Date: Tue, 12 May 2020 09:19:02 +0200 In-Reply-To: (Michael Kerrisk's message of "Tue, 12 May 2020 08:02:52 +0200") Message-ID: <87mu6dzkm1.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-8.1 required=5.0 tests=BAYES_00, 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: , X-List-Received-Date: Tue, 12 May 2020 07:19:05 -0000 * Michael Kerrisk: > One more thought... > >> +@itemize @bullet >> +@item >> +It can be a file descriptor referring to a directory. Such a descriptor >> +can be created explicitly using the @code{open} function, with or >> +without the @code{O_DIRECTORY} flag. > > Is it worth mentioning O_PATH here? Do you mean like this? +It can be a file descriptor referring to a directory. Such a descriptor +can be created explicitly using the @code{open} function, with or +without the @code{O_DIRECTORY} amd @code{O_PATH} flags. And also mention that the file name argument must be non-empty in this case?