https://github.com/torvalds/linux
Revision b1b11d0063aab28aaf65f63cff56470bc01dc290 authored by Linus Torvalds on 10 July 2020, 16:45:15 UTC, committed by Linus Torvalds on 10 July 2020, 16:45:15 UTC
Pull in-kernel read and write op cleanups from Christoph Hellwig:
 "Cleanup in-kernel read and write operations

  Reshuffle the (__)kernel_read and (__)kernel_write helpers, and ensure
  all users of in-kernel file I/O use them if they don't use iov_iter
  based methods already.

  The new WARN_ONs in combination with syzcaller already found a missing
  input validation in 9p. The fix should be on your way through the
  maintainer ASAP".

[ This is prep-work for the real changes coming 5.9 ]

* tag 'cleanup-kernel_read_write' of git://git.infradead.org/users/hch/misc:
  fs: remove __vfs_read
  fs: implement kernel_read using __kernel_read
  integrity/ima: switch to using __kernel_read
  fs: add a __kernel_read helper
  fs: remove __vfs_write
  fs: implement kernel_write using __kernel_write
  fs: check FMODE_WRITE in __kernel_write
  fs: unexport __kernel_write
  bpfilter: switch to kernel_write
  autofs: switch to kernel_write
  cachefiles: switch to kernel_write
2 parent s 1bfde03 + 775802c
History
Tip revision: b1b11d0063aab28aaf65f63cff56470bc01dc290 authored by Linus Torvalds on 10 July 2020, 16:45:15 UTC
Merge tag 'cleanup-kernel_read_write' of git://git.infradead.org/users/hch/misc
Tip revision: b1b11d0
File Mode Size
Kconfig -rw-r--r-- 482 bytes
Makefile -rw-r--r-- 291 bytes
attr.c -rw-r--r-- 3.0 KB
bfind.c -rw-r--r-- 4.6 KB
bitmap.c -rw-r--r-- 5.8 KB
bnode.c -rw-r--r-- 11.2 KB
brec.c -rw-r--r-- 13.6 KB
btree.c -rw-r--r-- 8.9 KB
btree.h -rw-r--r-- 5.2 KB
catalog.c -rw-r--r-- 9.8 KB
dir.c -rw-r--r-- 7.9 KB
extent.c -rw-r--r-- 14.0 KB
hfs.h -rw-r--r-- 9.1 KB
hfs_fs.h -rw-r--r-- 9.1 KB
inode.c -rw-r--r-- 18.4 KB
mdb.c -rw-r--r-- 10.1 KB
part_tbl.c -rw-r--r-- 2.9 KB
string.c -rw-r--r-- 3.7 KB
super.c -rw-r--r-- 12.1 KB
sysdep.c -rw-r--r-- 1.0 KB
trans.c -rw-r--r-- 3.4 KB

back to top