aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;