From: Phillip Susi <psusi@cfl.rr.com>
To: linux-kernel@vger.kernel.org
Subject: proc filesystem lets you out of a chroot?
Date: Wed, 09 Nov 2011 14:41:21 -0500 [thread overview]
Message-ID: <4EBAD761.4060501@cfl.rr.com> (raw)
I thought that symlinks could not be followed out of a chroot, but if
you follow /proc/1/root, you can escape from your chroot. When open()
finds that /proc/1/root is a symlink and restarts the name lookup with
"/", shouldn't that start with the calling process's root and not init's?
reply other threads:[~2011-11-09 19:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4EBAD761.4060501@cfl.rr.com \
--to=psusi@cfl.rr.com \
--cc=linux-kernel@vger.kernel.org \
/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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.