Skip to contentSkip to conversation

uaccess access_ok()

GIT PULL Merged Al Viro 2 participants 2 messages Jun 1, 2020

lore
Share & tools
lore

Al Viro

author
#0 lore raw

Removals of trivially pointless access_ok() calls. Note: fiemap
stuff removed from the series, since they are duplicates with part of ext4 series carried in Ted's tree

The following changes since commit 3815f1be546e752327b5868af103ccdddcc4db77:

dlmfs_file_write(): fix the bogosity in handling non-zero *ppos (2020-04-23 13:45:27 -0400)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git uaccess.access_ok

for you to fetch changes up to 87c233b8158a20a9c9ab1da96cb5cb1734d9006e:

vmci_host: get rid of pointless access_ok() (2020-05-29 11:06:38 -0400)

----------------------------------------------------------------
Al Viro (19):
dlmfs_file_write(): get rid of pointless access_ok() fat_dir_ioctl(): hadn't needed that access_ok() for more than a decade... btrfs_ioctl_send(): don't bother with access_ok() tomoyo_write_control(): get rid of pointless access_ok() n_hdlc_tty_read(): remove pointless access_ok()
nvram: drop useless access_ok()
cm4000_cs.c cmm_ioctl(): get rid of pointless access_ok() drivers/fpga/dfl-fme-pr.c: get rid of pointless access_ok() drivers/fpga/dfl-afu-dma-region.c: get rid of pointless access_ok()
amifb: get rid of pointless access_ok() calls
omapfb: get rid of pointless access_ok() calls drivers/crypto/ccp/sev-dev.c: get rid of pointless access_ok()
via-pmu: don't bother with access_ok()
drm_read(): get rid of pointless access_ok()
efi_test: get rid of pointless access_ok()
lpfc_debugfs: get rid of pointless access_ok()
usb: get rid of pointless access_ok() calls
hfi1: get rid of pointless access_ok()
vmci_host: get rid of pointless access_ok()

 drivers/char/nvram.c                            |  4 ----
 drivers/char/pcmcia/cm4000_cs.c                 | 14 --------------
 drivers/crypto/ccp/sev-dev.c                    | 15 +++------------
 drivers/firmware/efi/test/efi_test.c            | 12 ------------
 drivers/fpga/dfl-afu-dma-region.c               |  4 ----
 drivers/fpga/dfl-fme-pr.c                       |  4 ----
 drivers/gpu/drm/drm_file.c                      |  3 ---
 drivers/infiniband/hw/hfi1/user_exp_rcv.c       |  7 -------
 drivers/macintosh/via-pmu.c                     |  2 --
 drivers/misc/vmw_vmci/vmci_host.c               |  2 --
 drivers/scsi/lpfc/lpfc_debugfs.c                | 12 ------------
 drivers/tty/n_hdlc.c                            |  7 -------
 drivers/usb/core/devices.c                      |  2 --
 drivers/usb/core/devio.c                        |  9 ---------
 drivers/usb/gadget/function/f_hid.c             |  6 ------
 drivers/video/fbdev/amifb.c                     |  4 ----
 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c |  3 ---
 fs/btrfs/send.c                                 |  7 -------
 fs/fat/dir.c                                    |  4 ----
 fs/ocfs2/dlmfs/dlmfs.c                          |  3 ---
 security/tomoyo/common.c                        |  2 --
 21 files changed, 3 insertions(+), 123 deletions(-)