Arnd Bergmann
2018-Sep-12 16:20 UTC
[PATCH v2 02/17] compat_ioctl: move drivers to generic_compat_ioctl_ptrarg
On Wed, Sep 12, 2018 at 5:33 PM Jason Gunthorpe <jgg at ziepe.ca> wrote:> > On Wed, Sep 12, 2018 at 05:01:03PM +0200, Arnd Bergmann wrote: > > Each of these drivers has a copy of the same trivial helper function to > > convert the pointer argument and then call the native ioctl handler. > > > > We now have a generic implementation of that, so use it. > > > > For vtpm: > > Reviewed-by: Jason Gunthorpe <jgg at mellanox.com> > > Arnd, would you consider including a patch as part of/after this > series to make compat_ioctl in drivers/infiniband/core/uverbs_main.c > use this as well? Looks like a bug too?That should be included in patch 5 in this series. I may have skipped some Cc there since it had too many recipients (sent only to the mailing lists instead). Arnd
Possibly Parallel Threads
- [PATCH v2 02/17] compat_ioctl: move drivers to generic_compat_ioctl_ptrarg
- [PATCH v3 09/26] compat_ioctl: move drivers to compat_ptr_ioctl
- [PATCH v5 12/29] compat_ioctl: move drivers to compat_ptr_ioctl
- [PATCH] drm/nouveau: Fix out-of-bounds access when deferencing MMU type
- [PATCH v3 09/26] compat_ioctl: move drivers to compat_ptr_ioctl