mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Lei Zhang <zhanglei.april@gmail.com>
To: musl@lists.openwall.com
Subject: realpath() depends on a mounted /proc to work
Date: Tue, 7 Jun 2016 08:27:18 +0800	[thread overview]
Message-ID: <CAOYuCc3XEOCUkEJ=pi6Ws0Ow2RGMV0Hn4TD646vg0pXG=zVsFw@mail.gmail.com> (raw)

Hi,

I observed that realpath() doesn't work correctly without a mounted
/proc while experimenting in a chroot system, where musl is the
default libc. OTOH, the same program statically linked against glibc
worked just as expected.

Is the dependence on a mounted /proc intentional? Then what's the
rationale behind it?


Thanks,
Lei


             reply	other threads:[~2016-06-07  0:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-07  0:27 Lei Zhang [this message]
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
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='CAOYuCc3XEOCUkEJ=pi6Ws0Ow2RGMV0Hn4TD646vg0pXG=zVsFw@mail.gmail.com' \
    --to=zhanglei.april@gmail.com \
    --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).