[git pull] vfs.git part 5

From: Al Viro
Date: Wed Jul 05 2017 - 03:15:15 EST


A fairly self-contained series - hunting down open-coded memdup_user()
and memdup_user_nul() instances.

That's probably it for today; again, I apologize for the amount of
pull requests, but the tree topology is really nasty this cycle. And these
were actually the simple bits...

The following changes since commit 2ea659a9ef488125eb46da6eb571de5eae5c43f6:

Linux 4.12-rc1 (2017-05-13 13:19:49 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.memdup_user

for you to fetch changes up to e4448ed87ccdbacb74871736f63220642242b32f:

bpf: don't open-code memdup_user() (2017-06-30 02:04:11 -0400)

----------------------------------------------------------------
Al Viro (9):
sel_write_validatetrans(): don't open-code memdup_user_nul()
ima_write_policy(): don't open-code memdup_user_nul()
xfrm_user_policy(): don't open-code memdup_user()
irda: don't open-code memdup_user()
do_ipv6_setsockopt(): don't open-code memdup_user()
do_ip_setsockopt(): don't open-code memdup_user()
ethtool: don't open-code memdup_user()
kimage_file_prepare_segments(): don't open-code memdup_user()
bpf: don't open-code memdup_user()

kernel/bpf/syscall.c | 45 ++++++++++++++------------------------
kernel/kexec_file.c | 14 ++++--------
net/core/ethtool.c | 20 ++++++-----------
net/ipv4/ip_sockglue.c | 20 ++++++-----------
net/ipv6/ipv6_sockglue.c | 11 +++-------
net/irda/af_irda.c | 48 +++++++++++------------------------------
net/xfrm/xfrm_state.c | 11 +++-------
security/integrity/ima/ima_fs.c | 13 ++++-------
security/selinux/selinuxfs.c | 12 +++++------
9 files changed, 59 insertions(+), 135 deletions(-)