Re: [patch][resend] convert a remaining verify_area to access_ok (was: Re: [PATCH 2.6.11-mm1] mips: more convert verify_area to access_ok) (fwd)

From: Ralf Baechle
Date: Sun Mar 20 2005 - 17:33:06 EST


On Fri, Mar 18, 2005 at 01:17:47AM +0100, Jesper Juhl wrote:

> I hope I did a descent job and that you didn't waste too much time
> duplicating effort...

Didn't look too hard at it since my patch of something like 2,500 lines
should be a superset of yours.

> > The last instance of verify_area() in the MIPS code is now the definition
> > itself.
> >
> The plan is to wait for a few months (or a few kernel releases - whichever
> comes first) and then I'll send Andrew patches to remove it completely.
> There are still a few related nits left, like the FPU_verify_area function
> arch/i386/math-emu/reg_ld_str.c and the rw_verify_area function in
> fs/read_write.c that I want to get out of the way first (think I'll
> probably end up attempting to rename those s/verify_area/access_ok/ and
> see if people scream).

Access_ok was introduced in 2.1.4. Easy for people to write code that's
portable and so verify_area should die a peaceful death.

Ralf
-
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/