timerfd: Use get_itimerspec64() and put_itimerspec64()
authorDeepa Dinamani <deepa.kernel@gmail.com>
Sat, 24 Jun 2017 18:45:07 +0000 (11:45 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 30 Jun 2017 08:14:38 +0000 (04:14 -0400)
commitbff412036f457d8160eebada43199b8d987152d8
tree0df0e87f95c9682a82a1b67c53d9af30e92895a0
parentc0edd7c9acd0eaee149ab6cb4441cc71a1af87f0
timerfd: Use get_itimerspec64() and put_itimerspec64()

Usage of these apis and their compat versions makes
the syscalls: timerfd_settime and timerfd_gettime and
their compat implementations simpler.

This patch also serves as a preparatory patch for changing
syscalls to use new time_t data types to support the
y2038 effort by isolating the processing of user pointers
through these apis.

Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/timerfd.c