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: Jesper Juhl
Date: Thu Mar 17 2005 - 19:17:22 EST


On Thu, 17 Mar 2005, Ralf Baechle wrote:

> On Wed, Mar 16, 2005 at 10:35:09PM +0100, Jesper Juhl wrote:
>
> > Around 2.6.11-mm1 Yoichi Yuasa found a user of verify_area that I had
> > missed when converting everything to access_ok. The patch below still
> > applies cleanly to 2.6.11-mm4.
> > Please apply (unless of course you already picked it up back then and
> > have it in a queue somewhere :) .
>
> Oh gosh, you actually converted the whole IRIX compatibility mess even,
> amazing stomach you have :-) I only noticed that when I just looked at
> Linus' tree - after buring a few hours into cleaning those files myself -
> mine are now almost free of sparse warnings.
>
I hope I did a descent job and that you didn't waste too much time
duplicating effort...

> 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).


--
Jesper


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