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>
Showing
- arch/xtensa/platforms/iss/simdisk.c 3 additions, 9 deletionsarch/xtensa/platforms/iss/simdisk.c
- drivers/net/wireless/ath/wil6210/debugfs.c 3 additions, 9 deletionsdrivers/net/wireless/ath/wil6210/debugfs.c
- drivers/s390/char/vmcp.c 3 additions, 8 deletionsdrivers/s390/char/vmcp.c
- drivers/sbus/char/openprom.c 3 additions, 10 deletionsdrivers/sbus/char/openprom.c
- fs/afs/proc.c 6 additions, 19 deletionsfs/afs/proc.c
- fs/cachefiles/daemon.c 3 additions, 9 deletionsfs/cachefiles/daemon.c
- fs/dlm/user.c 3 additions, 8 deletionsfs/dlm/user.c
- kernel/trace/blktrace.c 3 additions, 9 deletionskernel/trace/blktrace.c
- lib/dynamic_debug.c 3 additions, 8 deletionslib/dynamic_debug.c
- net/rxrpc/ar-key.c 6 additions, 18 deletionsnet/rxrpc/ar-key.c
- security/smack/smackfs.c 32 additions, 82 deletionssecurity/smack/smackfs.c
- security/tomoyo/securityfs_if.c 3 additions, 8 deletionssecurity/tomoyo/securityfs_if.c
Loading
Please register or sign in to comment