Index: qemu/linux-user/syscall.c =================================================================== --- qemu.orig/linux-user/syscall.c 2007-07-20 13:09:03.000000000 -0400 +++ qemu/linux-user/syscall.c 2007-07-20 13:10:08.000000000 -0400 @@ -3742,6 +3742,41 @@ ret = do_ipc(arg1, arg2, arg3, arg4, arg5, arg6); break; #endif +#ifdef TARGET_NR_semop + case TARGET_NR_semop: + ret = get_errno(semop(arg1,(struct sembuf *) arg2, arg3)); + break; +#endif +#ifdef TARGET_NR_semget + case TARGET_NR_semget: + ret = get_errno(semget(arg1, arg2, arg3)); + break; +#endif +#ifdef TARGET_NR_semctl + case TARGET_NR_semctl: + ret = do_semctl(arg1, arg2, arg3, arg4); + break; +#endif +#ifdef TARGET_NR_msgsnd + case TARGET_NR_msgsnd: + ret = do_msgsnd(arg1, arg2, arg3, arg4); + break; +#endif +#ifdef TARGET_NR_msgrcv + case TARGET_NR_msgrcv: + ret = do_msgrcv(arg1, arg2, arg3, arg4, arg5); + break; +#endif +#ifdef TARGET_NR_msgget + case TARGET_NR_msgget: + ret = get_errno(msgget(arg1, arg2)); + break; +#endif +#ifdef TARGET_NR_msgctl + case TARGET_NR_msgctl: + ret = do_msgctl(arg1, arg2, arg3); + break; +#endif case TARGET_NR_fsync: ret = get_errno(fsync(arg1)); break;