diff options
author | Deepa Dinamani <deepa.kernel@gmail.com> | 2017-08-03 04:51:12 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-09-04 02:21:24 +0200 |
commit | 50578ea97a2a352c109bd1657e667b212faf2cbb (patch) | |
tree | 7a242252edae5c64837daa28d9d008b18c2b445c /ipc/sem.c | |
parent | ipc: mqueue: Replace timespec with timespec64 (diff) | |
download | linux-50578ea97a2a352c109bd1657e667b212faf2cbb.tar.xz linux-50578ea97a2a352c109bd1657e667b212faf2cbb.zip |
ipc: msg: Make msg_queue 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/sem.c')
0 files changed, 0 insertions, 0 deletions