Re: [2.6.7-rc1-mm1] lp int copy_to_user replaced

From: Arjan van de Ven
Date: Thu May 27 2004 - 12:42:13 EST


On Thu, 2004-05-27 at 19:32, FabF wrote:
> Andrew,
>
> Here's a patch to have standard __put_user for integer transfers in lp
> driver.Is it correct ?

no it's not. You need to use put_user() not __put_user() at least, to
make sure the destination address is checked to not be in kernel
space...

Attachment: signature.asc
Description: This is a digitally signed message part