On 11/19/2015 01:52 PM, Laurent Vivier wrote: > I didn't really search the reason of that before, but: > > Socketcall 20 seems to be sendmmsg() (and 19 is recvmmsg()). > > I think it should be easy to add as the do_sendmmsg() and do_recvmmsg() > already exist in linux-user/syscall.c
I'm not sure actually why it's called "Socketcall". Is that an offset in the syscall numbering? In any case, TARGET_NR_sendmmsg and TARGET_NR_recvmmsg are not defined here: > https://github.com/vivier/qemu-m68k/blob/680x0-v2.3.0/linux-user/m68k/syscall_nr.h According to the kernel sources, recvmmsg is defined as 371 and sendmmsg as 372: > https://github.com/torvalds/linux/blob/master/arch/m68k/kernel/syscalltable.S#L394 And hence once should add: #define TARGET_NR_recvmmsg 371 #define TARGET_NR_sendmmsg 372 The implementation can be found here: > https://github.com/vivier/qemu-m68k/blob/680x0-v2.3.0/linux-user/syscall.c#L7848 What about the other syscalls 349 through 374, btw? Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - [email protected] `. `' Freie Universitaet Berlin - [email protected] `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

