linux-user: Ignore timer_create syscall
authorAlexander Graf <agraf@suse.de>
Sun, 11 Dec 2011 00:19:24 +0000 (01:19 +0100)
committerJunfeng Dong <junfeng.dong@intel.com>
Tue, 19 Nov 2013 10:21:46 +0000 (18:21 +0800)
We don't implement the timer_create syscall, but shouting out loud
about it breaks some %check tests in OBS, so better ignore it silently.

Signed-off-by: Alexander Graf <agraf@suse.de>
linux-user/syscall.c

index 18ec182..eda4455 100644 (file)
@@ -8690,6 +8690,11 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
         break;
 #endif
 
+#if defined(TARGET_NR_timer_create)
+    case TARGET_NR_timer_create:
+       goto unimplemented_nowarn;
+#endif
+
 #if defined(TARGET_NR_tkill) && defined(__NR_tkill)
     case TARGET_NR_tkill:
         ret = get_errno(sys_tkill((int)arg1, target_to_host_signal(arg2)));