2013-02-10 19:32:29 +01:00
|
|
|
From a9c897a8986a9efb469eafa63bf99f699a559000 Mon Sep 17 00:00:00 2001
|
2011-12-11 03:42:09 +01:00
|
|
|
From: Alexander Graf <agraf@suse.de>
|
|
|
|
Date: Sun, 11 Dec 2011 01:19:24 +0100
|
2012-02-01 00:10:40 +01:00
|
|
|
Subject: [PATCH] linux-user: Ignore timer_create syscall
|
2011-12-11 03:42:09 +01:00
|
|
|
|
|
|
|
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 | 5 +++++
|
2013-02-10 19:32:29 +01:00
|
|
|
1 Datei geändert, 5 Zeilen hinzugefügt(+)
|
2011-12-11 03:42:09 +01:00
|
|
|
|
|
|
|
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
|
2013-02-10 19:32:29 +01:00
|
|
|
index 62efb75..03b9f69 100644
|
2011-12-11 03:42:09 +01:00
|
|
|
--- a/linux-user/syscall.c
|
|
|
|
+++ b/linux-user/syscall.c
|
2013-02-10 19:32:29 +01:00
|
|
|
@@ -8635,6 +8635,11 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
|
2011-12-11 03:42:09 +01:00
|
|
|
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)));
|