Finishing the conversion of readdir.c to unsafe_... API; includes uaccess_{read,write}_begin series by Christophe Leroy. The following changes since commit 8f3d9f354286745c751374f5f1fcafee6b3f3136: Linux 5.7-rc1 (2020-04-12 12:35:55 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git uaccess.readdir for you to fetch changes up to 5fb1514164de20ddb21886ffceda4cb54d6538f6: readdir.c: get rid of the last __put_user(), drop now-useless access_ok() (2020-05-01 20:29:54 -0400) ---------------------------------------------------------------- Al Viro (3): switch readdir(2) to unsafe_copy_dirent_name() readdir.c: get compat_filldir() more or less in sync with filldir() readdir.c: get rid of the last __put_user(), drop now-useless access_ok() Christophe Leroy (3): uaccess: Add user_read_access_begin/end and user_write_access_begin/end uaccess: Selectively open read or write user access drm/i915/gem: Replace user_access_begin by user_write_access_begin drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 5 +- fs/readdir.c | 104 ++++++++++++------------- include/linux/uaccess.h | 8 ++ kernel/compat.c | 12 +-- kernel/exit.c | 12 +-- lib/strncpy_from_user.c | 4 +- lib/strnlen_user.c | 4 +- lib/usercopy.c | 6 +- 8 files changed, 80 insertions(+), 75 deletions(-)