lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200710160058.GA540798@infradead.org>
Date:   Fri, 10 Jul 2020 18:00:58 +0200
From:   Christoph Hellwig <hch@...radead.org>
To:     Linus Torvalds <torvalds@...ux-foundation.org>
Cc:     Al Viro <viro@...iv.linux.org.uk>, linux-kernel@...r.kernel.org,
        linux-fsdevel@...r.kernel.org
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(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ