Hi Laurent, Few patches I'v been writting while trying to figure out this issue: http://lists.nongnu.org/archive/html/qemu-arm/2018-01/msg00514.html
As usual with linux-user files, this series will trigger some checkpatch benign warnings. Regards, Phil. Since v6: - Use ABI types in sockaddr Since v5: - dropped 'Verify recvfrom(addr)' since failing LTP testsuite (see [1]) - also define print_sockfd() for bind() (patches #6 and #7) Since v4: - rebased on master (no change) Since v3: - addressed Laurent comments - added print_sockfd() - removed the print_sockaddr_ptr() patch, also the two getsockname()/recvfrom() patches for after 3.0. Since v2: - display invalid pointer in print_timeval() and print_timezone() - do not display gettimeofday() arguments Since v1: - addressed Laurent comments - added 'last' argument to print_sockaddr() - reordered series, so patches already correct can get applied directly - dropped "linux-user/syscall: simplify recvfrom()" for now v1: http://lists.nongnu.org/archive/html/qemu-devel/2018-01/msg05855.html v2: http://lists.nongnu.org/archive/html/qemu-devel/2018-06/msg08216.html v3: http://lists.nongnu.org/archive/html/qemu-devel/2018-07/msg00411.html v5: https://lists.gnu.org/archive/html/qemu-devel/2018-10/msg02067.html v6: https://lists.gnu.org/archive/html/qemu-devel/2019-09/msg01346.html [1] https://lists.gnu.org/archive/html/qemu-devel/2018-10/msg02807.html Philippe Mathieu-Daudé (9): linux-user/strace: Display invalid pointer in print_timeval() linux-user/strace: Add print_timezone() linux-user/strace: Improve settimeofday() linux-user/syscall: Introduce target_sockaddr_nl linux-user/strace: Dump AF_NETLINK sockaddr content linux-user/strace: Add print_sockfd() linux-user/strace: Improve bind() output linux-user/strace: Let print_sockaddr() have a 'last' argument linux-user/syscall: Align target_sockaddr fields using ABI types linux-user/strace.c | 120 +++++++++++++++++++++++++++++++++----- linux-user/strace.list | 4 +- linux-user/syscall.c | 6 +- linux-user/syscall_defs.h | 41 +++++++------ 4 files changed, 137 insertions(+), 34 deletions(-) -- 2.20.1