aboutsummaryrefslogtreecommitdiff
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-06-21 21:57:12 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-06-21 21:57:12 +0000
commit4f2b1fe82109e08a83913a44f074d8eb3214fd64 (patch)
tree94db3652b774ed80546ee4e217bb0138bdfcb319 /linux-user/syscall.c
parent71455574f7e4119f21238d8018c024b81040474d (diff)
Implement set_robust_list, by Alexander Graf.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2992 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/syscall.c')
-rw-r--r--linux-user/syscall.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index e392634005..9ee7352313 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -4612,10 +4612,15 @@ long do_syscall(void *cpu_env, int num, long arg1, long arg2, long arg3,
break;
#endif
+#ifdef TARGET_NR_set_robust_list
+ case TARGET_NR_set_robust_list:
+ goto unimplemented_nowarn;
+#endif
+
default:
unimplemented:
gemu_log("qemu: Unsupported syscall: %d\n", num);
-#if defined(TARGET_NR_setxattr) || defined(TARGET_NR_get_thread_area) || defined(TARGET_NR_getdomainname)
+#if defined(TARGET_NR_setxattr) || defined(TARGET_NR_get_thread_area) || defined(TARGET_NR_getdomainname) || defined(TARGET_NR_set_robust_list)
unimplemented_nowarn:
#endif
ret = -ENOSYS;