summaryrefslogtreecommitdiffstats
path: root/ipc/util.h
diff options
context:
space:
mode:
authorDeepa Dinamani <deepa.kernel@gmail.com>2017-08-03 04:51:14 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2017-09-04 02:24:29 +0200
commit7ff2819e8dd5b528887dfbe4ff395f5d2142edff (patch)
tree5107f4eddf48f3ef4333aa5380096273b53d7580 /ipc/util.h
parentipc: sem: Make sem_array timestamps y2038 safe (diff)
downloadlinux-7ff2819e8dd5b528887dfbe4ff395f5d2142edff.tar.xz
linux-7ff2819e8dd5b528887dfbe4ff395f5d2142edff.zip
ipc: shm: Make shmid_kernel 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 interfaces 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/util.h')
0 files changed, 0 insertions, 0 deletions