]> granicus.if.org Git - strace/commit
time.c: introduce do_timer_gettime and do_timer_settime
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 4 May 2019 23:15:52 +0000 (23:15 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 4 May 2019 23:15:52 +0000 (23:15 +0000)
commit515c97a08bcfa832e1b3a6c8574aa222ada1a01d
treea3898acd1f27a0886161a843c6f3d6829e4e9e2c
parentc842118871756d030225c3f1ddf07cf1a4cc5501
time.c: introduce do_timer_gettime and do_timer_settime

These are going to be used to implement parsers of timer_gettime64 and
timer_settime64 syscalls.

* time.c (do_timer_settime, do_timer_gettime): New functions.
((SYS_FUNC(timer_settime)): Turn into a thin wrapper around
do_timer_settime.
((SYS_FUNC(timer_gettime)): Turn into a thin wrapper around
do_timer_gettime.
time.c