Re: Linux 2.2.18pre21

From: Matthias Andree (matthias.andree@stud.uni-dortmund.de)
Date: Thu Nov 16 2000 - 09:07:04 EST


On Fri, 10 Nov 2000, Alan Cox wrote:

> Ok so the PS/2 bug is real and the megaraid mystery continues
>
> Anything which isnt a strict bug fix or previously agreed is now 2.2.19
> material.

Torsten Hilbrich posted a chroot "bug" that works on 2.2.17 and
2.2.18pre21, it's in de.comp.os.unix.networking, Subject containing
"chroot-Bug in Linux", dated 2000-11-15 20:38:38 local time (+0100).
Its Message-ID: <87bsvhgh4x.fsf_-_@myrkr.in-berlin.de>

It shows a program that saves the cwd -- open(".",...) in an open file,
then chroots to a newly made directory below that, fchdirs back to the
original open file (that is now outside the chroot) and calls upon
chdir("..").

Note that it's NOT related to the current working directory, but to an
open file outside the chroot.

Please comment.

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



This archive was generated by hypermail 2b29 : Thu Nov 23 2000 - 21:00:10 EST