Re: i486 emu in mainline?

From: Brian Gerst
Date: Sun May 23 2004 - 12:12:47 EST


Willy Tarreau wrote:
Hi Arjan,

On Sun, May 23, 2004 at 09:13:20AM +0200, Arjan van de Ven wrote:

on first look it seems to be missing a bunch of get_user() calls and
does direct access instead....


It was intentional for speed purpose. The areas are checked once with
verify_area() when we need to access memory, then data is copied directly
from/to memory. I don't think there's any risk, but I can be wrong.

Which will break with 4G/4G. You must use at least __get_user().

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