Re: sys_chroot+sys_fchdir Fix

From: David Newall
Date: Wed Sep 26 2007 - 07:22:44 EST

Alan Cox wrote:
On Wed, 26 Sep 2007 20:04:14 +0930
David Newall <david@xxxxxxxxxxxxxxx> wrote:
Al Viro wrote:
Oh, for fsck sake... Folks, it's standard-required behaviour. Ability
to chroot() implies the ability to break out of it. Could we please
add that (along with reference to SuS) to l-k FAQ and be done with that
I'm pretty confident that it's only standard behavior for Linux. Every other unix says it's not allowed.

Go try them, then come back and admit your error

I've made no error. The documentation says what it says, and what it doesn't say, other than for Linux, is that there is an unspecified way of breaking out.

If you're so keen on trying things, then I challenge you to try it on, oh, say, BSD, and then admit your error. (Such hostile words.)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at