convert a bunch of open-coded instances of memdup_user_nul()
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 24 Dec 2015 05:06:05 +0000 (00:06 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 4 Jan 2016 15:26:58 +0000 (10:26 -0500)
commit16e5c1fc36040e592128a164499bc25eb138a80f
treea080bd2eea306d5815c5a9eefb46180e2bedffb2
parent7e935c7ca1e6c398f11edac5beabfc4348e3b3a4
convert a bunch of open-coded instances of memdup_user_nul()

A _lot_ of ->write() instances were open-coding it; some are
converted to memdup_user_nul(), a lot more remain...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
12 files changed:
arch/xtensa/platforms/iss/simdisk.c
drivers/net/wireless/ath/wil6210/debugfs.c
drivers/s390/char/vmcp.c
drivers/sbus/char/openprom.c
fs/afs/proc.c
fs/cachefiles/daemon.c
fs/dlm/user.c
kernel/trace/blktrace.c
lib/dynamic_debug.c
net/rxrpc/ar-key.c
security/smack/smackfs.c
security/tomoyo/securityfs_if.c