Re: 2.6.9-rc3-mm3

From: Russell King
Date: Thu Oct 07 2004 - 05:18:50 EST


On Thu, Oct 07, 2004 at 12:04:22PM +0200, Jesper Juhl wrote:
> After recieving some feedback from Christoph Hellwig I believe this is
> probably a better version of the patch (no reason not to use the
> access_ok checking version of copy_to_user) :

Except that we've validated the user pointer _before_ performing any
of the ioctl handling itself, so the non-__ copy_to_user is fairly
redundant.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
-
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/