]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
posix-timers: Make compat syscalls depend on CONFIG_COMPAT_32BIT_TIME
authorDeepa Dinamani <deepa.kernel@gmail.com>
Wed, 14 Mar 2018 04:03:29 +0000 (21:03 -0700)
committerArnd Bergmann <arnd@arndb.de>
Thu, 19 Apr 2018 11:30:58 +0000 (13:30 +0200)
commitb5793b0d92c95cdd5b7bd9bcb6d9307a217e0de7
treec265bb75169b56ec4ab8ec6e5aa7f23b2a543089
parent17435e5f8cf3ba8b3df1aa662f9921f0ccdd8a28
posix-timers: Make compat syscalls depend on CONFIG_COMPAT_32BIT_TIME

clock_gettime, clock_settime, clock_getres and clock_nanosleep
compat syscalls are also repurposed to provide backward compatibility
to support 32 bit time_t on 32 bit systems.

Note that nanosleep compat syscall will also be treated the same way
as the above syscalls as it shares common handler functions with
clock_nanosleep. But, there is no plan to provide y2038 safe solution
for nanosleep.

Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
kernel/time/hrtimer.c
kernel/time/posix-stubs.c
kernel/time/posix-timers.c