lkml.org 
[lkml]   [2002]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: prevent breaking a chroot() jail?
    Hi!

    > I'm trying to develop a way to ensure that one can't break out of a
    > chroot() jail, even as root. I'm willing to change the way the syscalls
    > work (most likely only for a subset of processes, i.e. processes that
    > are run in the jail end up getting a marker which is passed down to all
    > their children that causes the syscalls to behave differently).
    >
    > What should I be aware of? I figure devices (no need to run mknod in
    > this jail) and chroot (as per man page), is there any other way of
    > breaking the chroot jail (at a syscall level or otherwise)?

    subterfugue.sf.net, or UML. Its hard to do with chroot(). Think
    kill(-9, -1).
    Pavel
    --
    Worst form of spam? Adding advertisment signatures ala sourceforge.net.
    What goes next? Inserting advertisment *into* email?
    -
    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: 2005-03-22 13:22    [W:0.027 / U:62.788 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site