]> git.baikalelectronics.ru Git - kernel.git/commit
y2038: socket: Change recvmmsg to use __kernel_timespec
authorArnd Bergmann <arnd@arndb.de>
Wed, 18 Apr 2018 11:42:25 +0000 (13:42 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 29 Aug 2018 13:42:24 +0000 (15:42 +0200)
commitf682dab73e346c9ae440b75b78aaf610db560b46
treec68fc623710d64f681bcd1b90965f69a757e64ba
parent7ed943537aaf398dbbc61cc1b82cb8b8c5240ea1
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>
include/linux/socket.h
include/linux/syscalls.h
net/compat.c
net/socket.c