lkml.org 
[lkml]   [2020]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[GIT PULL] clean up kernel read/write helpers
(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(-)

\
 
 \ /
  Last update: 2020-07-10 18:01    [W:0.091 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site