Index: qemu/linux-user/syscall.c =================================================================== --- qemu.orig/linux-user/syscall.c +++ qemu/linux-user/syscall.c @@ -1736,6 +1736,8 @@ static long do_ipc(long call, long first switch (call) { case IPCOP_semop: + ret = -EINVAL; + break; { struct sembuf *target_sops; int i;