summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--]linux-user/syscall.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 51c109188..2a9b494b0 100644..100755
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -11861,10 +11861,16 @@ abi_long do_syscall(void *cpu_env, int num, abi_ulong arg1,
break;
#endif
+#if defined(TARGET_NR_keyctl)
+ case TARGET_NR_keyctl:
+ goto unimplemented_nowarn;
+ break;
+#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) || defined(TARGET_NR_set_robust_list)
+#if defined(TARGET_NR_setxattr) || defined(TARGET_NR_get_thread_area) || defined(TARGET_NR_getdomainname) || defined(TARGET_NR_set_robust_list) || defined(TARGET_NR_keyctl)
unimplemented_nowarn:
#endif
ret = -TARGET_ENOSYS;