diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-04-18 07:42:25 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2018-08-29 09:42:24 -0400 |
commit | c2e6c8567acdba8db1055b242c34ceb123c6a253 (patch) | |
tree | c68fc623710d64f681bcd1b90965f69a757e64ba /include/linux/syscalls.h | |
parent | 474b9c777b20b8340a6ee0f7ba6ebbd6a4bf47e2 (diff) |
y2038: socket: Change recvmmsg to use __kernel_timespec
This converts the recvmmsg() system call in all its variations to use
'timespec64' internally for its timeout, and have a __kernel_timespec64
argument in the native entry point. This lets us change the type to use
64-bit time_t at a later point while using the 32-bit compat system call
emulation for existing user space.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/linux/syscalls.h')
-rw-r--r-- | include/linux/syscalls.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index 5642016a312d..fb3a05fab8aa 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h | |||
@@ -830,7 +830,7 @@ asmlinkage long sys_perf_event_open( | |||
830 | asmlinkage long sys_accept4(int, struct sockaddr __user *, int __user *, int); | 830 | asmlinkage long sys_accept4(int, struct sockaddr __user *, int __user *, int); |
831 | asmlinkage long sys_recvmmsg(int fd, struct mmsghdr __user *msg, | 831 | asmlinkage long sys_recvmmsg(int fd, struct mmsghdr __user *msg, |
832 | unsigned int vlen, unsigned flags, | 832 | unsigned int vlen, unsigned flags, |
833 | struct timespec __user *timeout); | 833 | struct __kernel_timespec __user *timeout); |
834 | 834 | ||
835 | asmlinkage long sys_wait4(pid_t pid, int __user *stat_addr, | 835 | asmlinkage long sys_wait4(pid_t pid, int __user *stat_addr, |
836 | int options, struct rusage __user *ru); | 836 | int options, struct rusage __user *ru); |