Re: [GIT PULL] USB/PHY driver patches for 4.17-rc1

From: Kees Cook
Date: Thu Apr 05 2018 - 02:31:18 EST

On Wed, Apr 4, 2018 at 3:31 AM, Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> Lars-Peter Clausen (2):
> usb: gadget: ffs: Execute copy_to_user() with USER_DS set

Isn't there a better way to do this without the set_fs() usage? We've
been try to eliminate it in the kernel. I thought there was a safer
way to use iters now?


Kees Cook
Pixel Security