All of lore.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 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.