summaryrefslogtreecommitdiff
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
parent71455574f7e4119f21238d8018c024b81040474d (diff)
downloadqemu-4f2b1fe82109e08a83913a44f074d8eb3214fd64.zip
Implement set_robust_list, by Alexander Graf.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2992 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--linux-user/i386/syscall_nr.h2
-rw-r--r--linux-user/syscall.c7
2 files changed, 8 insertions, 1 deletions
diff --git a/linux-user/i386/syscall_nr.h b/linux-user/i386/syscall_nr.h
index 6fe967d3cb..75fb55953d 100644
--- a/linux-user/i386/syscall_nr.h
+++ b/linux-user/i386/syscall_nr.h
@@ -273,3 +273,5 @@
#define TARGET_NR_tgkill 270
#define TARGET_NR_utimes 271
+
+#define TARGET_NR_set_robust_list 311
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;