diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-03-22 00:29:06 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-09 06:02:26 +0200 |
commit | da18428498fb24438a23d982259461fe22bc1f46 (patch) | |
tree | 37efb94c71802ac8aa9ebf4c443b63aefc809479 /include/net/compat.h | |
parent | net: switch sendto() and recvfrom() to import_single_range() (diff) | |
download | linux-da18428498fb24438a23d982259461fe22bc1f46.tar.xz linux-da18428498fb24438a23d982259461fe22bc1f46.zip |
net: switch importing msghdr from userland to {compat_,}import_iovec()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/net/compat.h')
-rw-r--r-- | include/net/compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/compat.h b/include/net/compat.h index 42a9c8431177..48103cf94e97 100644 --- a/include/net/compat.h +++ b/include/net/compat.h @@ -40,7 +40,7 @@ int compat_sock_get_timestampns(struct sock *, struct timespec __user *); #define compat_mmsghdr mmsghdr #endif /* defined(CONFIG_COMPAT) */ -ssize_t get_compat_msghdr(struct msghdr *, struct compat_msghdr __user *, +int get_compat_msghdr(struct msghdr *, struct compat_msghdr __user *, struct sockaddr __user **, struct iovec **); asmlinkage long compat_sys_sendmsg(int, struct compat_msghdr __user *, unsigned int); |