]> 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)
commit7ab14f34633abbf0cfe514a7446cb58c706f3fab
treeb86c9f9af37d937e8332e906b61a13be24ed2065
parentc8223d60774bf9850623275da5b1191d515ab942
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