From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10100 Path: news.gmane.org!not-for-mail From: FRIGN Newsgroups: gmane.linux.lib.musl.general Subject: Re: realpath() depends on a mounted /proc to work Date: Tue, 7 Jun 2016 09:13:51 +0200 Message-ID: <20160607091351.de61c23673f5d9c33c11827e@frign.de> References: <20160607011538.GU10893@brightrain.aerifal.cx> <20160607084521.08cf94ec@vostro.util.wtbts.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1465283649 8250 80.91.229.3 (7 Jun 2016 07:14:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Jun 2016 07:14:09 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-10113-gllmg-musl=m.gmane.org@lists.openwall.com Tue Jun 07 09:14:08 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1bABDC-0008MC-Mc for gllmg-musl@m.gmane.org; Tue, 07 Jun 2016 09:14:06 +0200 Original-Received: (qmail 16278 invoked by uid 550); 7 Jun 2016 07:14:04 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 16258 invoked from network); 7 Jun 2016 07:14:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1465283632; l=528; s=domk; d=frign.de; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References: In-Reply-To:Subject:To:From:Date; bh=690O1899Y4npfIGYJtjVHtVffwOXbCeKRG3IcyPCq2g=; b=hg7imYitIxkl5Rk9vNwDqw+lvIDJabUfeKiYIDaAtI4Ko7gl3N7eC6kh5Onhq7d7jfr rYMD6IULQtMmo4NnN0Bt5qzJDyiF/nTzvtnPIZ8f/HIaLBWxx98ljA3AEUdng6PTmQZcU uVY5PuGu17OKRxiFBwNewIMPXi6NpVYYrFA= X-RZG-AUTH: :KGkSVUa6cvg6QHOypuT/F//XhghIqIrrftbI6xdAzo0GYm6y2943wg== X-RZG-CLASS-ID: mo00 In-Reply-To: <20160607084521.08cf94ec@vostro.util.wtbts.net> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.28; x86_64-pc-linux-gnu) Xref: news.gmane.org gmane.linux.lib.musl.general:10100 Archived-At: On Tue, 7 Jun 2016 08:45:21 +0300 Timo Teras wrote: Hey Timo, > Given the above, I would vote realpath() to have fallback code. It's > far more widely used, and would fix several chroot usage scenarios. I second this, given I use realpath() on webservers to get canonical pathnames. Of course, those webservers are in a chroot environment. It also took me quite a while to find out what the problem was (and why the program froze at realpath()). Cheers FRIGN -- FRIGN