diff options
Diffstat (limited to 'include/linux/socket.h')
| -rw-r--r-- | include/linux/socket.h | 9 |
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 { | |||
| 349 | extern int move_addr_to_kernel(void __user *uaddr, int ulen, struct sockaddr_storage *kaddr); | 349 | extern int move_addr_to_kernel(void __user *uaddr, int ulen, struct sockaddr_storage *kaddr); |
| 350 | extern int put_cmsg(struct msghdr*, int level, int type, int len, void *data); | 350 | extern int put_cmsg(struct msghdr*, int level, int type, int len, void *data); |
| 351 | 351 | ||
| 352 | struct timespec64; | 352 | struct __kernel_timespec; |
| 353 | struct 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); |
| 359 | extern long __sys_sendmsg(int fd, struct user_msghdr __user *msg, | 360 | extern 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); |
| 361 | extern int __sys_recvmmsg(int fd, struct mmsghdr __user *mmsg, unsigned int vlen, | 362 | extern 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); | ||
| 363 | extern int __sys_sendmmsg(int fd, struct mmsghdr __user *mmsg, | 366 | extern 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); |
