]> git.ipfire.org Git - thirdparty/linux.git/commit - ipc/msg.c
y2038: ipc: Report long times to user space
authorArnd Bergmann <arnd@arndb.de>
Tue, 28 Apr 2015 19:39:50 +0000 (21:39 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 20 Apr 2018 14:20:21 +0000 (16:20 +0200)
commitc2ab975c30f0c3d3efcd69c1f1b2baa831c9374f
tree91a6ffc1ad88b4bd31c81ebc7a8c059cc0da0c51
parent2a70b7879b84d471fd0e440f027bba310e0c1fb7
y2038: ipc: Report long times to user space

The shmid64_ds/semid64_ds/msqid64_ds data structures have been extended
to contain extra fields for storing the upper bits of the time stamps,
this patch does the other half of the job and and fills the new fields on
32-bit architectures as well as 32-bit tasks running on a 64-bit kernel
in compat mode.

There should be no change for native 64-bit tasks.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
ipc/msg.c
ipc/sem.c
ipc/shm.c