Re: Security patch for /proc

Jeremy Fitzhardinge (jeremy@zip.com.au)
Thu, 02 Apr 1998 11:11:15 +1000


Robert Bihlmeyer wrote:
> Alan Cox wrote:
> >> mkdir("x"); chroot("x"); chdir("../../../../../../../..");
> >> chroot(".");
> You tried it? One will escape from x with that.

Well, one was never really captured. I didn't notice the missing chdir,
but its well known behaviour that if you never chdir into a chroot jail,
you can easily "escape".

J

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu