Re: Linux 2.4.10-pre11

Andrea Arcangeli
2001-09-21T03:47:46Z

On Fri, Sep 21, 2001 at 01:03:40AM +0200, Andrea Arcangeli wrote:
> What do you prefer for the next 2.4.10 mainline? I'd like to have this

Famous last words, after a few hours of debugging mixed with vm patches
and emails, I finally got around finding the real bug. The fact is that
the secure-ramdisk logic was totally broken, not just for initrd, oh
well, so please don't apply such patch (code in mainline has the
security issue if you allow an luser to read from /dev/ram0, but it
isn't buggy). and the issue is quite unfixable with just a PageSecure
set inside rd.c. The fact is that I cannot just clear-around the
written "bh", around there could be the source for the next block to
write and I cannot zero it out. It is getting harder to fix this one
just inside the ->make_request callback... Hints?

Andrea