diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-04-18 16:15:37 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2018-12-18 16:13:04 +0100 |
commit | df8522a340ee4ccb725036e1f9145f5646939aed (patch) | |
tree | 5bb42180a00ee7f529c8563bfbd0391e34d0aa7f /include/linux/syscalls.h | |
parent | e11d4284e2f4de5048c6d1787c82226f0a198292 (diff) | |
download | linux-df8522a340ee4ccb725036e1f9145f5646939aed.tar.gz linux-df8522a340ee4ccb725036e1f9145f5646939aed.tar.bz2 linux-df8522a340ee4ccb725036e1f9145f5646939aed.zip |
y2038: signal: Add sys_rt_sigtimedwait_time32
Once sys_rt_sigtimedwait() gets changed to a 64-bit time_t, we have
to provide compatibility support for existing binaries.
An earlier version of this patch reused the compat_sys_rt_sigtimedwait
entry point to avoid code duplication, but this newer approach
duplicates the existing native entry point instead, which seems
a bit cleaner.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/linux/syscalls.h')
-rw-r--r-- | include/linux/syscalls.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index 03cda6793be3..251979d2e709 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h @@ -649,6 +649,10 @@ asmlinkage long sys_rt_sigtimedwait(const sigset_t __user *uthese, siginfo_t __user *uinfo, const struct __kernel_timespec __user *uts, size_t sigsetsize); +asmlinkage long sys_rt_sigtimedwait_time32(const sigset_t __user *uthese, + siginfo_t __user *uinfo, + const struct old_timespec32 __user *uts, + size_t sigsetsize); asmlinkage long sys_rt_sigqueueinfo(pid_t pid, int sig, siginfo_t __user *uinfo); /* kernel/sys.c */ |