]> 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)
commitbecc83ec481f96e5bc39e38ecfcac4c2f2cc6693
treec68fc623710d64f681bcd1b90965f69a757e64ba
parentab0d710995ddc6cbb97b3fb18ea3dac3aa7b0fe9
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