[PATCHES] uaccess readdir

From: Al Viro
Date: Thu May 28 2020 - 19:48:40 EST


readdir.c uaccess stuff. Lives in #uaccess.readdir, based at
#uaccess.base, gets the rest of fs/readdir.c in sync with
getdents()/getdents64().

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()

fs/readdir.c | 92 +++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 48 deletions(-)