]> git.baikalelectronics.ru Git - kernel.git/commit
posix_clocks: Use get_itimerspec64() and put_itimerspec64()
authorDeepa Dinamani <deepa.kernel@gmail.com>
Sat, 24 Jun 2017 18:45:08 +0000 (11:45 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 30 Jun 2017 08:15:02 +0000 (04:15 -0400)
commit4026bf92d89d8d3f52b46526c520e5e7d23ef430
treeb86c9f9af37d937e8332e906b61a13be24ed2065
parent903f522d805d3ede6f8dbb16070d02107c0bf6cc
posix_clocks: Use get_itimerspec64() and put_itimerspec64()

Usage of these apis and their compat versions makes
the syscalls: timer_settime and timer_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>
kernel/time/posix-timers.c