]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit - kernel/futex.c
y2038: futex: Add support for __kernel_timespec
authorArnd Bergmann <arnd@arndb.de>
Tue, 17 Apr 2018 15:23:35 +0000 (17:23 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 7 Dec 2018 21:19:07 +0000 (22:19 +0100)
commitbec2f7cbb73eadf5e1cc7d54ecb0980ede244257
tree24d06866d036f57bed35f0828f42d9fa63256eb2
parent04e7712f4460585e5eed5b853fd8b82a9943958f
y2038: futex: Add support for __kernel_timespec

This prepares sys_futex for y2038 safe calling: the native
syscall is changed to receive a __kernel_timespec argument, which
will be switched to 64-bit time_t in the future. All the internal
time handling gets changed to timespec64, and the compat_sys_futex
entry point is moved under the CONFIG_COMPAT_32BIT_TIME check
to provide compatibility for existing 32-bit architectures.

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