linux/arch
Arnd Bergmann c039dbd5f4 y2038: x86: Extend sysvipc data structures
This extends the x86 copy of the sysvipc data structures to deal with
32-bit user space that has 64-bit time_t and wants to see timestamps
beyond 2038.

Fortunately, x86 has padding for this purpose in all the data structures,
so we can just add extra fields. With msgid64_ds and shmid64_ds, the
data structure is identical to the asm-generic version, which we have
already extended.

For some reason however, the 64-bit version of semid64_ds ended up with
extra padding, so I'm implementing the same approach as the asm-generic
version here, by using separate fields for the upper and lower halves
of the two timestamps.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-04-20 16:19:52 +02:00
..
alpha time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
arc time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
arm time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
arm64 compat: Move compat_timespec/ timeval to compat_time.h 2018-04-19 13:29:54 +02:00
c6x time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
h8300 time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
hexagon time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
ia64 time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
m68k time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
microblaze time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
mips compat: Move compat_timespec/ timeval to compat_time.h 2018-04-19 13:29:54 +02:00
nds32 time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
nios2 time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
openrisc time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
parisc compat: Move compat_timespec/ timeval to compat_time.h 2018-04-19 13:29:54 +02:00
powerpc compat: Move compat_timespec/ timeval to compat_time.h 2018-04-19 13:29:54 +02:00
riscv RISC-V changes for 4.17 2018-04-04 16:43:47 -07:00
s390 compat: Move compat_timespec/ timeval to compat_time.h 2018-04-19 13:29:54 +02:00
sh time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
sparc compat: Move compat_timespec/ timeval to compat_time.h 2018-04-19 13:29:54 +02:00
um time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
unicore32 time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
x86 y2038: x86: Extend sysvipc data structures 2018-04-20 16:19:52 +02:00
xtensa time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
.gitignore
Kconfig time: Introduce CONFIG_COMPAT_32BIT_TIME 2018-04-19 13:30:40 +02:00