aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/socket.h')
-rw-r--r--include/linux/socket.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/linux/socket.h b/include/linux/socket.h
index 84c48a3c0227..ab2041a00e01 100644
--- a/include/linux/socket.h
+++ b/include/linux/socket.h
@@ -349,7 +349,8 @@ struct ucred {
349extern int move_addr_to_kernel(void __user *uaddr, int ulen, struct sockaddr_storage *kaddr); 349extern int move_addr_to_kernel(void __user *uaddr, int ulen, struct sockaddr_storage *kaddr);
350extern int put_cmsg(struct msghdr*, int level, int type, int len, void *data); 350extern int put_cmsg(struct msghdr*, int level, int type, int len, void *data);
351 351
352struct timespec64; 352struct __kernel_timespec;
353struct old_timespec32;
353 354
354/* The __sys_...msg variants allow MSG_CMSG_COMPAT iff 355/* The __sys_...msg variants allow MSG_CMSG_COMPAT iff
355 * forbid_cmsg_compat==false 356 * forbid_cmsg_compat==false
@@ -358,8 +359,10 @@ extern long __sys_recvmsg(int fd, struct user_msghdr __user *msg,
358 unsigned int flags, bool forbid_cmsg_compat); 359 unsigned int flags, bool forbid_cmsg_compat);
359extern long __sys_sendmsg(int fd, struct user_msghdr __user *msg, 360extern long __sys_sendmsg(int fd, struct user_msghdr __user *msg,
360 unsigned int flags, bool forbid_cmsg_compat); 361 unsigned int flags, bool forbid_cmsg_compat);
361extern int __sys_recvmmsg(int fd, struct mmsghdr __user *mmsg, unsigned int vlen, 362extern int __sys_recvmmsg(int fd, struct mmsghdr __user *mmsg,
362 unsigned int flags, struct timespec64 *timeout); 363 unsigned int vlen, unsigned int flags,
364 struct __kernel_timespec __user *timeout,
365 struct old_timespec32 __user *timeout32);
363extern int __sys_sendmmsg(int fd, struct mmsghdr __user *mmsg, 366extern int __sys_sendmmsg(int fd, struct mmsghdr __user *mmsg,
364 unsigned int vlen, unsigned int flags, 367 unsigned int vlen, unsigned int flags,
365 bool forbid_cmsg_compat); 368 bool forbid_cmsg_compat);