linux_dsm_epyc7002/arch
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
..
alpha
arc
arm ARM fixes for 5.5-rc: 2019-12-06 16:12:39 -08:00
arm64 ARM: SoC fixes 2019-12-06 14:19:37 -08:00
c6x
csky
h8300
hexagon
ia64
m68k
microblaze
mips
nds32
nios2
openrisc
parisc
powerpc powerpc updates for 5.5 #2 2019-12-06 13:36:31 -08:00
riscv
s390 powerpc updates for 5.5 #2 2019-12-06 13:36:31 -08:00
sh
sparc
um um: ubd: use 64-bit time_t where possible 2019-12-18 18:07:31 +01:00
unicore32
x86 powerpc updates for 5.5 #2 2019-12-06 13:36:31 -08:00
xtensa xtensa: ISS: avoid struct timeval 2019-12-18 18:07:31 +01:00
.gitignore
Kconfig