linux/arch/um
Arnd Bergmann 853bc0ab34 um: ubd: use 64-bit time_t where possible
The ubd code suffers from a possible y2038 overflow on 32-bit
architectures, both for the cow header and the os_file_modtime()
function.

Replace time_t with time64_t to extend the ubd_kern side as much
as possible.

Whether this makes a difference for the user side depends on
the host libc implementation that may use either 32-bit or 64-bit
time_t.

For the cow file format, the header contains an unsigned 32-bit
timestamp, which is good until y2106, passing this through a
'long long' gives us a consistent interpretation between 32-bit
and 64-bit um kernels.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2019-12-18 18:07:31 +01:00
..
configs kunit: defconfig: add defconfigs for building KUnit tests 2019-09-30 17:35:01 -06:00
drivers um: ubd: use 64-bit time_t where possible 2019-12-18 18:07:31 +01:00
include um: ubd: use 64-bit time_t where possible 2019-12-18 18:07:31 +01:00
kernel um: add support for folded p4d page tables 2019-12-04 19:44:15 -08:00
os-Linux um: ubd: use 64-bit time_t where possible 2019-12-18 18:07:31 +01:00
scripts License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
.gitignore um: tell git to ignore generated files 2010-03-06 11:26:28 -08:00
Kconfig um: Fix Kconfig indentation 2019-11-25 22:43:28 +01:00
Kconfig.debug um: Make GCOV depend on !KCOV 2018-12-27 22:48:19 +01:00
Makefile kbuild: remove src and obj from the top Makefile 2019-07-11 00:05:09 +09:00
Makefile-os-Linux
Makefile-skas