public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* proc filesystem lets you out of a chroot?
@ 2011-11-09 19:41 Phillip Susi
  0 siblings, 0 replies; only message in thread
From: Phillip Susi @ 2011-11-09 19:41 UTC (permalink / raw)
  To: linux-kernel

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?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-11-09 19:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-09 19:41 proc filesystem lets you out of a chroot? Phillip Susi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox