mbox series

[GIT,PULL] clean up kernel read/write helpers

Message ID 20200710160058.GA540798@infradead.org (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL] clean up kernel read/write helpers | expand

Pull-request

git://git.infradead.org/users/hch/misc.git tags/cleanup-kernel_read_write

Message

Christoph Hellwig July 10, 2020, 4 p.m. UTC
(note that 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)

The following changes since commit dcde237b9b0eb1d19306e6f48c0a4e058907619f:

  Merge tag 'perf-tools-fixes-2020-07-07' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux (2020-07-07 15:38:53 -0700)

are available in the Git repository at:

  git://git.infradead.org/users/hch/misc.git tags/cleanup-kernel_read_write

for you to fetch changes up to 775802c0571fb438cd4f6548a323f9e4cb89f5aa:

  fs: remove __vfs_read (2020-07-08 08:27:57 +0200)

----------------------------------------------------------------
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.

----------------------------------------------------------------
Christoph Hellwig (11):
      cachefiles: switch to kernel_write
      autofs: switch to kernel_write
      bpfilter: switch to kernel_write
      fs: unexport __kernel_write
      fs: check FMODE_WRITE in __kernel_write
      fs: implement kernel_write using __kernel_write
      fs: remove __vfs_write
      fs: add a __kernel_read helper
      integrity/ima: switch to using __kernel_read
      fs: implement kernel_read using __kernel_read
      fs: remove __vfs_read

 fs/autofs/waitq.c            |   2 +-
 fs/cachefiles/rdwr.c         |   2 +-
 fs/read_write.c              | 131 +++++++++++++++++++++++++------------------
 include/linux/fs.h           |   2 +-
 net/bpfilter/bpfilter_kern.c |   2 +-
 security/integrity/iint.c    |  14 +----
 6 files changed, 80 insertions(+), 73 deletions(-)

Comments

pr-tracker-bot@kernel.org July 10, 2020, 4:55 p.m. UTC | #1
The pull request you sent on Fri, 10 Jul 2020 18:00:58 +0200:

> git://git.infradead.org/users/hch/misc.git tags/cleanup-kernel_read_write

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b1b11d0063aab28aaf65f63cff56470bc01dc290

Thank you!