ipc: Make sys_semtimedop() y2038 safe
authorDeepa Dinamani <deepa.kernel@gmail.com>
Thu, 3 Aug 2017 02:51:10 +0000 (19:51 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 4 Sep 2017 00:21:23 +0000 (20:21 -0400)
commit3ef56dc2678258b7211b1870d034c1666becb2bd
tree0798aa4b92b9c2724dbf8ae3db8b852134a10ade
parent8ac72a462371b39579790394efcea014388f737d
ipc: Make sys_semtimedop() y2038 safe

struct timespec is not y2038 safe on 32 bit machines.
Replace timespec with y2038 safe struct timespec64.

Note that the patch only changes the internals without
modifying the syscall interface. This will be part
of a separate 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>
ipc/sem.c