* aio.c (SYS_FUNC(io_pgetevents_time64)): New function.
* desc.c (SYS_FUNC(pselect6_time64)): Likewise.
* futex.c (SYS_FUNC(futex_time64)): Likewise.
* ipc_sem.c (SYS_FUNC(semtimedop_time64)): Likewise.
* mmsghdr.c (SYS_FUNC(recvmmsg_time64)): Likewise.
* mq.c (SYS_FUNC(mq_timedsend_time64),
SYS_FUNC(mq_timedreceive_time64)): Likewise.
* poll.c (SYS_FUNC(ppoll_time64)): Likewise.
* sched.c (SYS_FUNC(sched_rr_get_interval_time64)): Likewise.
* signal.c (SYS_FUNC(rt_sigtimedwait_time64)): Likewise.
* time.c (SYS_FUNC(clock_settime64), SYS_FUNC(clock_gettime64),
SYS_FUNC(clock_nanosleep_time64), SYS_FUNC(timer_settime64),
SYS_FUNC(timer_gettime64), SYS_FUNC(timerfd_settime64),
SYS_FUNC(timerfd_gettime64)): Likewise.
* utimes.c (SYS_FUNC(utimensat_time64)): Likewise.
* linux/dummy.h (sys_clock_getres_time64): Redirect
to sys_clock_gettime64.
{
return print_io_getevents(tcp, print_timespec, true);
}
+
+SYS_FUNC(io_pgetevents_time64)
+{
+ return print_io_getevents(tcp, print_timespec64, true);
+}
{
return do_pselect6(tcp, print_timespec, sprint_timespec);
}
+
+SYS_FUNC(pselect6_time64)
+{
+ return do_pselect6(tcp, print_timespec64, sprint_timespec64);
+}
{
return do_futex(tcp, print_timespec);
}
+
+SYS_FUNC(futex_time64)
+{
+ return do_futex(tcp, print_timespec64);
+}
return do_semtimedop(tcp, print_timespec);
}
+SYS_FUNC(semtimedop_time64)
+{
+ return do_semtimedop(tcp, print_timespec64);
+}
+
SYS_FUNC(semget)
{
printxval(ipc_private, (unsigned int) tcp->u_arg[0], NULL);
# define sys_acct sys_chdir
# define sys_chroot sys_chdir
# define sys_clock_getres sys_clock_gettime
+# define sys_clock_getres_time64 sys_clock_gettime64
# define sys_connect sys_bind
# define sys_fchdir sys_close
# define sys_fdatasync sys_close
{
return do_recvmmsg(tcp, print_timespec, sprint_timespec);
}
+
+SYS_FUNC(recvmmsg_time64)
+{
+ return do_recvmmsg(tcp, print_timespec64, sprint_timespec64);
+}
return do_mq_timedsend(tcp, print_timespec);
}
+SYS_FUNC(mq_timedsend_time64)
+{
+ return do_mq_timedsend(tcp, print_timespec64);
+}
+
static int
do_mq_timedreceive(struct tcb *const tcp, const print_obj_by_addr_fn print_ts)
{
return do_mq_timedreceive(tcp, print_timespec);
}
+SYS_FUNC(mq_timedreceive_time64)
+{
+ return do_mq_timedreceive(tcp, print_timespec64);
+}
+
SYS_FUNC(mq_notify)
{
printfd(tcp, tcp->u_arg[0]);
{
return do_ppoll(tcp, print_timespec, sprint_timespec);
}
+
+SYS_FUNC(ppoll_time64)
+{
+ return do_ppoll(tcp, print_timespec64, sprint_timespec64);
+}
return do_sched_rr_get_interval(tcp, print_timespec);
}
+SYS_FUNC(sched_rr_get_interval_time64)
+{
+ return do_sched_rr_get_interval(tcp, print_timespec64);
+}
+
static void
print_sched_attr(struct tcb *const tcp, const kernel_ulong_t addr,
unsigned int usize)
return do_rt_sigtimedwait(tcp, print_timespec, sprint_timespec);
}
+SYS_FUNC(rt_sigtimedwait_time64)
+{
+ return do_rt_sigtimedwait(tcp, print_timespec64, sprint_timespec64);
+}
+
SYS_FUNC(restart_syscall)
{
tprintf("<... resuming interrupted %s ...>",
return do_clock_settime(tcp, print_timespec);
}
+SYS_FUNC(clock_settime64)
+{
+ return do_clock_settime(tcp, print_timespec64);
+}
+
static int
do_clock_gettime(struct tcb *const tcp, const print_obj_by_addr_fn print_ts)
{
return do_clock_gettime(tcp, print_timespec);
}
+SYS_FUNC(clock_gettime64)
+{
+ return do_clock_gettime(tcp, print_timespec64);
+}
+
static int
do_clock_nanosleep(struct tcb *const tcp, const print_obj_by_addr_fn print_ts)
{
return do_clock_nanosleep(tcp, print_timespec);
}
+SYS_FUNC(clock_nanosleep_time64)
+{
+ return do_clock_nanosleep(tcp, print_timespec64);
+}
+
static int
do_clock_adjtime(struct tcb *const tcp, const print_obj_by_addr_fn print_tx)
{
return do_timer_settime(tcp, print_itimerspec);
}
+SYS_FUNC(timer_settime64)
+{
+ return do_timer_settime(tcp, print_itimerspec64);
+}
+
static int
do_timer_gettime(struct tcb *const tcp, const print_obj_by_addr_fn print_its)
{
return do_timer_gettime(tcp, print_itimerspec);
}
+SYS_FUNC(timer_gettime64)
+{
+ return do_timer_gettime(tcp, print_itimerspec64);
+}
+
#include "xlat/timerfdflags.h"
SYS_FUNC(timerfd_create)
return do_timerfd_settime(tcp, print_itimerspec);
}
+SYS_FUNC(timerfd_settime64)
+{
+ return do_timerfd_settime(tcp, print_itimerspec64);
+}
+
static int
do_timerfd_gettime(struct tcb *const tcp, const print_obj_by_addr_fn print_its)
{
{
return do_timerfd_gettime(tcp, print_itimerspec);
}
+
+SYS_FUNC(timerfd_gettime64)
+{
+ return do_timerfd_gettime(tcp, print_itimerspec64);
+}
return do_utimensat(tcp, print_timespec_utime_pair);
}
+SYS_FUNC(utimensat_time64)
+{
+ return do_utimensat(tcp, print_timespec64_utime_pair);
+}
+
#ifdef ALPHA
SYS_FUNC(osf_utimes)
{