]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - fs/utimes.c
y2038: syscalls: change remaining timeval to __kernel_old_timeval
authorArnd Bergmann <arnd@arndb.de>
Fri, 25 Oct 2019 20:56:17 +0000 (22:56 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 15 Nov 2019 13:38:29 +0000 (14:38 +0100)
commit75d319c06e6a76f67549c0ae1007dc3167804f4e
tree5aed38b6b958308fe83e580a6222767a91bd2b1e
parentbdd565f817a74b9e30edec108f7cb1dbc762b8a6
y2038: syscalls: change remaining timeval to __kernel_old_timeval

All of the remaining syscalls that pass a timeval (gettimeofday, utime,
futimesat) can trivially be changed to pass a __kernel_old_timeval
instead, which has a compatible layout, but avoids ambiguity with
the timeval type in user space.

Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/powerpc/include/asm/asm-prototypes.h
arch/powerpc/kernel/syscalls.c
fs/select.c
fs/utimes.c
include/linux/syscalls.h
kernel/power/power.h
kernel/time/time.c