From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26548 invoked from network); 19 Aug 2022 13:48:24 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 19 Aug 2022 13:48:24 -0000 Received: (qmail 15660 invoked by uid 550); 19 Aug 2022 13:48:22 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 15620 invoked from network); 19 Aug 2022 13:48:21 -0000 X-Virus-Scanned: SPAM Filter at disroot.org Date: Fri, 19 Aug 2022 19:48:33 +0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1660916887; bh=J6mGNkMYa9Xrang7GG5EUtpIN65K3L4wC0NKDalMNu0=; h=Date:From:To:Subject:References:In-Reply-To; b=ft7s1Ps6fCdx7C2TwlkFY3/ZeNa0h0/ye+OFMdy0U7SaqlYjOF3wiPbHOE2F+N4Wj cN1Ymfe7qWAS2zpvJ/oFGKYcruQDn3XsAMts1iPIakYxEkx/peAi7UzWATvuV+dGrH LEHdbo5N144scjwedL1SJAZ/OSrfSEDSvLZekegMoD4RnA5RqDfyjM9CdmxXpjUr5H dVfrRC2vibQzkJ/qBdKUIxLZT/GkvLWsVim2zrwIV+DTFhXYlHpAcbkrFisnHLXmcL 7wLtg4H31hXSgZ/tBjLUiyTLxGlpIhofCXDlbEFtt18EEJjj930KTKf8ZpTm+jnXiv XMPA5kQBpDfYA== From: NRK To: musl@lists.openwall.com Message-ID: <20220819134833.y4kzfrb6ukpnuhbc@gen2.localdomain> References: <652e3222-b868-3f8c-4f9e-c6e30321fc2d@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <652e3222-b868-3f8c-4f9e-c6e30321fc2d@gmail.com> Subject: Re: [musl] canonicalize_file_name(3) On Thu, Aug 18, 2022 at 07:30:10PM +0200, Alejandro Colomar wrote: > It relies on a glibc extension to realpath(3) What extension are we talking about exactly? Because `man canonicalize_file_name` states the following: | The call canonicalize_file_name(path) is equivalent to the call: | realpath(path, NULL); Calling realpath with NULL as the 2nd parameter is well defined since POSIX-2008 [0], if that's what you were talking about. [0]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/realpath.html - NRK