]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit94e2e5177fd306c42acfc067daf3427ed2d54bd4
tree0798aa4b92b9c2724dbf8ae3db8b852134a10ade
parent311fc893d52fa9cb525233b1a3b2f277cb01384b
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