linux-user: Ignore timer_create syscall

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>
This commit is contained in:
Alexander Graf
2011-12-11 01:19:24 +01:00
committed by Andreas Färber
parent b7af750752
commit af1996be2e

View File

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