summaryrefslogtreecommitdiffstats
path: root/ipc/shm.c
diff options
context:
space:
mode:
authorDeepa Dinamani2017-08-03 04:51:13 +0200
committerAl Viro2017-09-04 02:24:29 +0200
commite54d02b23c5eed3aa0ffe54e659dfe1c9084c262 (patch)
tree2851477ce36dd58453bdc0e339b9f39c2d0427f9 /ipc/shm.c
parentipc: msg: Make msg_queue timestamps y2038 safe (diff)
downloadkernel-qcow2-linux-e54d02b23c5eed3aa0ffe54e659dfe1c9084c262.tar.gz
kernel-qcow2-linux-e54d02b23c5eed3aa0ffe54e659dfe1c9084c262.tar.xz
kernel-qcow2-linux-e54d02b23c5eed3aa0ffe54e659dfe1c9084c262.zip
ipc: sem: Make sem_array timestamps y2038 safe
time_t is not y2038 safe. Replace all uses of time_t by y2038 safe time64_t. Similarly, replace the calls to get_seconds() with y2038 safe ktime_get_real_seconds(). Note that this preserves fast access on 64 bit systems, but 32 bit systems need sequence counters. The syscall interface themselves are not changed as part of the patch. They will be part of a different series. Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions