Commit 4f2b1fe82109e08a83913a44f074d8eb3214fd64

Authored by ths
1 parent 71455574

Implement set_robust_list, by Alexander Graf.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2992 c046a42c-6fe2-441c-8c8c-71466251a162
linux-user/i386/syscall_nr.h
... ... @@ -273,3 +273,5 @@
273 273  
274 274 #define TARGET_NR_tgkill 270
275 275 #define TARGET_NR_utimes 271
  276 +
  277 +#define TARGET_NR_set_robust_list 311
... ...
linux-user/syscall.c
... ... @@ -4612,10 +4612,15 @@ long do_syscall(void *cpu_env, int num, long arg1, long arg2, long arg3,
4612 4612 break;
4613 4613 #endif
4614 4614  
  4615 +#ifdef TARGET_NR_set_robust_list
  4616 + case TARGET_NR_set_robust_list:
  4617 + goto unimplemented_nowarn;
  4618 +#endif
  4619 +
4615 4620 default:
4616 4621 unimplemented:
4617 4622 gemu_log("qemu: Unsupported syscall: %d\n", num);
4618   -#if defined(TARGET_NR_setxattr) || defined(TARGET_NR_get_thread_area) || defined(TARGET_NR_getdomainname)
  4623 +#if defined(TARGET_NR_setxattr) || defined(TARGET_NR_get_thread_area) || defined(TARGET_NR_getdomainname) || defined(TARGET_NR_set_robust_list)
4619 4624 unimplemented_nowarn:
4620 4625 #endif
4621 4626 ret = -ENOSYS;
... ...