Skip to content

fs: use memdup_user()

Li Zefan linux-btrfs linux-xfs lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6xattr: use memdup_user()fs/xattr.c+3 -70 replies
2/6btrfs: use memdup_user()fs/btrfs/ioctl.c fs/btrfs/super.c+16 -460 replies
3/6sysfs: use memdup_user()fs/sysfs/bin.c+3 -100 replies
4/6xfs: use memdup_user()fs/xfs/linux-2.6/xfs_ioctl.c fs/xfs/linux-2.6/xfs_ioctl32.c+11 -244 replies
5/6ncpfs: use memdup_user()fs/ncpfs/ioctl.c+7 -140 replies
6/6ecryptfs: use memdup_user()fs/ecryptfs/miscdev.c+5 -100 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchChristoph HellwigFelix Blyakher
1/6
2/6
3/6
4/6R-b R-b
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] fs: use memdup_user()

Remove open-coded memdup_user() in fs/.

text data bss dec hex filename
7684360 520520 5629456 13834336 d31860 vmlinux.o.orig
text data bss dec hex filename
7683392 520520 5629456 13833368 d31498 vmlinux.o

 fs/btrfs/ioctl.c               |   49 +++++++++------------------------------
 fs/btrfs/super.c               |   13 +++-------
 fs/ecryptfs/miscdev.c          |   15 ++++--------
 fs/ncpfs/ioctl.c               |   21 +++++-----------
 fs/sysfs/bin.c                 |   13 ++--------
 fs/xattr.c                     |   10 ++-----
 fs/xfs/linux-2.6/xfs_ioctl.c   |   23 +++++-------------
 fs/xfs/linux-2.6/xfs_ioctl32.c |   12 +++------
 8 files changed, 45 insertions(+), 111 deletions(-)

---