Skip to contentSkip to conversation

proc filesystem lets you out of a chroot?

DISCUSSION Phillip Susi 1 participant 1 message Nov 9, 2011

lore
Share & tools
lore
#0 lore 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?