y2038: signal: Change rt_sigtimedwait to use __kernel_timespec
authorArnd Bergmann <arnd@arndb.de>
Wed, 18 Apr 2018 13:56:13 +0000 (15:56 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 29 Aug 2018 13:42:25 +0000 (15:42 +0200)
commit49c39f8464a9af702e9d45800c00a572753aeb06
treea6ee558be49608cf8ee603b9d8ed46c1840aa5dd
parentc2e6c8567acdba8db1055b242c34ceb123c6a253
y2038: signal: Change rt_sigtimedwait to use __kernel_timespec

This changes sys_rt_sigtimedwait() to use get_timespec64(), changing
the timeout type to __kernel_timespec, which will be changed to use
a 64-bit time_t in the future. Since the do_sigtimedwait() core
function changes, we also have to modify the compat version of this
system call in the same way.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
include/linux/syscalls.h
kernel/signal.c