Merge branch 'gadget' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull gadgetfs fixes from Al Viro: "Assorted fixes around AIO on gadgetfs: leaks, use-after-free, troubles caused by ->f_op flipping" * 'gadget' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: gadgetfs: really get rid of switching ->f_op gadgetfs: get rid of flipping ->f_op in ep_config() gadget: switch ep_io_operations to ->read_iter/->write_iter gadgetfs: use-after-free in ->aio_read() gadget/function/f_fs.c: switch to ->{read,write}_iter() gadget/function/f_fs.c: use put iov_iter into io_data gadget/function/f_fs.c: close leaks move iov_iter.c from mm/ to lib/ new helper: dup_iter()
Showing
- drivers/usb/gadget/function/f_fs.c 79 additions, 125 deletionsdrivers/usb/gadget/function/f_fs.c
- drivers/usb/gadget/legacy/inode.c 193 additions, 273 deletionsdrivers/usb/gadget/legacy/inode.c
- include/linux/uio.h 2 additions, 0 deletionsinclude/linux/uio.h
- lib/Makefile 1 addition, 1 deletionlib/Makefile
- lib/iov_iter.c 15 additions, 0 deletionslib/iov_iter.c
- mm/Makefile 1 addition, 1 deletionmm/Makefile
Loading
Please register or sign in to comment