Commit Graph

3 Commits

Author SHA1 Message Date
Eugene Syromyatnikov
89955c53a4 socketcall: use printxval_d for printing call argument
* socketcall.c (SYS_FUNC(socketcall)): Use printxval_d instead of manual
call argument decoding.
2018-04-27 00:56:25 +00:00
b7844f8b4a Do not print too many arguments of socketcall syscall
* socketcall.c (SYS_FUNC(socketcall)): Print just "call" and "args"
syscall arguments.
* tests/socketcall.c (test_socketcall): Update expected output.
* tests/socketcall.test: Likewise.
2016-07-21 12:32:14 +00:00
e0a0d89bc5 Fix corner cases of socketcall syscall
* xlat/socketcalls.in: New file.
* socketcall.c: New file.
* Makefile.am (libstrace_a_SOURCES): Add it.
* linux/dummy.h (sys_socketcall): Remove stub alias.
* syscall.c (decode_socket_subcall): Treat 1st argument of socketcall
as "int".  Do not substitute syscall until all socketcall arguments
have been fetched successfully.
2016-07-20 11:16:14 +00:00