From: Erik de Castro Lopo
Signed-off-by: Erik de Castro Lopo
---
linux-user/syscall_defs.h | 25 +
1 file changed, 25 insertions(+)
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
index fe540f6..cf08db5 100644
--- a/linux-user/syscall_defs.h
+++ b/lin
From: Erik de Castro Lopo
Implement timer_create, timer_settime, timer_gettime, timer_getoverrun
and timer_delete.
Signed-off-by: Erik de Castro Lopo
---
linux-user/syscall.c | 176 +++
1 file changed, 176 insertions(+)
diff --git a/linux-user/s
Changes from v3 version of patch (suggestions from agraf on irc):
* Fix checkpatch.pl issues.
* Use ARRAY_SIZE instead of custom macro.
* Pass 0 as last arg to unlock_user_struct() in host_to_target_itimerspec.
Changes from original patch:
* Call host's libc functions directly rather than _syscal