mailing list of musl libc
 help / color / mirror / code / Atom feed
From: FRIGN <dev@frign.de>
To: musl@lists.openwall.com
Subject: Re: realpath() depends on a mounted /proc to work
Date: Tue, 7 Jun 2016 09:13:51 +0200	[thread overview]
Message-ID: <20160607091351.de61c23673f5d9c33c11827e@frign.de> (raw)
In-Reply-To: <20160607084521.08cf94ec@vostro.util.wtbts.net>

On Tue, 7 Jun 2016 08:45:21 +0300
Timo Teras <timo.teras@iki.fi> 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 <dev@frign.de>


  reply	other threads:[~2016-06-07  7:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-07  0:27 Lei Zhang
2016-06-07  1:15 ` Rich Felker
2016-06-07  5:17   ` Luca Barbato
2016-06-07  5:45   ` Timo Teras
2016-06-07  7:13     ` FRIGN [this message]
2016-06-08 17:50     ` Rich Felker
2016-11-03 17:03       ` Quentin Rameau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160607091351.de61c23673f5d9c33c11827e@frign.de \
    --to=dev@frign.de \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).