y2038: uapi: change __kernel_time_t to __kernel_old_time_t
authorArnd Bergmann <arnd@arndb.de>
Tue, 5 Nov 2019 10:10:01 +0000 (11:10 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 15 Nov 2019 13:38:29 +0000 (14:38 +0100)
commit2a785996cc5e2fc1d1d29d196f530905f68d2dc2
tree554fb14f12fba31cdc7a39b80ccc63ab1efdfed1
parent1bf883c1a9cf88a60234039356aac8f23479dce9
y2038: uapi: change __kernel_time_t to __kernel_old_time_t

This is mainly a patch for clarification, and to let us remove
the time_t definition from the kernel to prevent new users from
creeping in that might not be y2038-safe.

All remaining uses of 'time_t' or '__kernel_time_t' are part of
the user API that cannot be changed by that either have a
replacement or that do not suffer from the y2038 overflow.

Acked-by: Deepa Dinamani <deepa.kernel@gmail.com>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
12 files changed:
include/linux/syscalls.h
include/linux/time32.h
include/linux/types.h
include/uapi/linux/cyclades.h
include/uapi/linux/msg.h
include/uapi/linux/ppp_defs.h
include/uapi/linux/sem.h
include/uapi/linux/shm.h
include/uapi/linux/time.h
include/uapi/linux/time_types.h
include/uapi/linux/utime.h
kernel/time/time.c