]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit903f522d805d3ede6f8dbb16070d02107c0bf6cc
tree0df0e87f95c9682a82a1b67c53d9af30e92895a0
parent8c3b8ec7ec2e3b95fc0b4242e5f52d26d9f45471
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