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

From: Chris Wright
Date: Thu May 27 2004 - 12:47:34 EST


* FabF (fabian.frederick@xxxxxxxxx) wrote:
> Andrew,
>
> Here's a patch to have standard __put_user for integer transfers in lp
> driver.Is it correct ?

No, you've removed the security check but using __put_user. put_user
maintains the access_ok() check.

thanks,
-chris
--
Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net
-
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/