X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fnet%2Fcompat.h;h=9983fd857804dc7f85467ec8c7af743920bd8343;hb=9213980e6a70d8473e0ffd4b39ab5b6caaba9ff5;hp=b1635413568e937c2a53d1798365701181769803;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/include/net/compat.h b/include/net/compat.h index b16354135..9983fd857 100644 --- a/include/net/compat.h +++ b/include/net/compat.h @@ -29,9 +29,9 @@ struct compat_cmsghdr { extern int get_compat_msghdr(struct msghdr *, struct compat_msghdr __user *); extern int verify_compat_iovec(struct msghdr *, struct iovec *, char *, int); -extern asmlinkage long compat_sys_sendmsg(int,struct compat_msghdr *,unsigned); -extern asmlinkage long compat_sys_recvmsg(int,struct compat_msghdr *,unsigned); -extern asmlinkage long compat_sys_getsockopt(int, int, int, char *, int *); +extern asmlinkage long compat_sys_sendmsg(int,struct compat_msghdr __user *,unsigned); +extern asmlinkage long compat_sys_recvmsg(int,struct compat_msghdr __user *,unsigned); +extern asmlinkage long compat_sys_getsockopt(int, int, int, char __user *, int __user *); extern int put_cmsg_compat(struct msghdr*, int, int, int, void *); extern int cmsghdr_from_user_compat_to_kern(struct msghdr *, unsigned char *, int);