diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-04-18 16:56:13 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2018-08-29 16:42:25 +0300 |
commit | 49c39f8464a9af702e9d45800c00a572753aeb06 (patch) | |
tree | a6ee558be49608cf8ee603b9d8ed46c1840aa5dd /include/linux/syscalls.h | |
parent | c2e6c8567acdba8db1055b242c34ceb123c6a253 (diff) | |
download | linux-49c39f8464a9af702e9d45800c00a572753aeb06.tar.xz |
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>
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 fb3a05fab8aa..2ac3d13a915b 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h @@ -635,7 +635,7 @@ asmlinkage long sys_rt_sigprocmask(int how, sigset_t __user *set, asmlinkage long sys_rt_sigpending(sigset_t __user *set, size_t sigsetsize); asmlinkage long sys_rt_sigtimedwait(const sigset_t __user *uthese, siginfo_t __user *uinfo, - const struct timespec __user *uts, + const struct __kernel_timespec __user *uts, size_t sigsetsize); asmlinkage long sys_rt_sigqueueinfo(pid_t pid, int sig, siginfo_t __user *uinfo); |