From 518343413fd311a3d95798b2c1d51853fd8d3c85 Mon Sep 17 00:00:00 2001 From: Riku Voipio Date: Sun, 22 Jun 2014 11:25:42 +0100 Subject: linux-user: support timerfd_{create, gettime, settime} syscalls Adds support for the timerfd_create, timerfd_gettime & timerfd_settime syscalls, allowing use of timerfds by target programs. v2: By Riku - added configure check for timerfd and ifdefs for benefit of old distributions like RHEL5. Signed-off-by: Paul Burton Signed-off-by: Riku Voipio --- linux-user/strace.list | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'linux-user/strace.list') diff --git a/linux-user/strace.list b/linux-user/strace.list index fcb258d348..8de972a6ee 100644 --- a/linux-user/strace.list +++ b/linux-user/strace.list @@ -1404,6 +1404,15 @@ #ifdef TARGET_NR_timer_settime { TARGET_NR_timer_settime, "timer_settime" , NULL, NULL, NULL }, #endif +#ifdef TARGET_NR_timerfd_create +{ TARGET_NR_timerfd_create, "timerfd_create" , NULL, NULL, NULL }, +#endif +#ifdef TARGET_NR_timerfd_gettime +{ TARGET_NR_timerfd_gettime, "timerfd_gettime" , NULL, NULL, NULL }, +#endif +#ifdef TARGET_NR_timerfd_settime +{ TARGET_NR_timerfd_settime, "timerfd_settime" , NULL, NULL, NULL }, +#endif #ifdef TARGET_NR_times { TARGET_NR_times, "times" , NULL, NULL, NULL }, #endif -- cgit v1.2.1