lkml.org 
[lkml]   [2007]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: sys_chroot+sys_fchdir Fix
    Alan Cox wrote:
    > On Fri, 21 Sep 2007 13:39:34 -0400
    > Phillip Susi <psusi@cfl.rr.com> 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

    Does not work for me, and that would be the EXACT thing chroot is
    supposed to prevent. Maybe you guys are thinking of a program that
    calls chroot() but leaves cwd outside the chroot still being able to
    navigate outside of it?


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-09-25 22:57    [W:0.091 / U:30.832 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site