Re: sys_chroot+sys_fchdir Fix

From: Alan Cox
Date: Fri Sep 21 2007 - 14:05:26 EST


On Fri, 21 Sep 2007 13:39:34 -0400
Phillip Susi <psusi@xxxxxxxxxx> wrote:

> David Newall wrote:
> > * In particular, the superuser can escape from a =91chroot jail=92 by d=
> > oing=20
> > =91mkdir foo; chroot foo; cd ..=92.
>
> No, he can not.

The superuser can escape that way - its expected and fine behaviour
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/