Dmitry V. Levin
e0a0d89bc5
* 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.
21 lines
299 B
Plaintext
21 lines
299 B
Plaintext
SYS_SOCKET 1
|
|
SYS_BIND 2
|
|
SYS_CONNECT 3
|
|
SYS_LISTEN 4
|
|
SYS_ACCEPT 5
|
|
SYS_GETSOCKNAME 6
|
|
SYS_GETPEERNAME 7
|
|
SYS_SOCKETPAIR 8
|
|
SYS_SEND 9
|
|
SYS_RECV 10
|
|
SYS_SENDTO 11
|
|
SYS_RECVFROM 12
|
|
SYS_SHUTDOWN 13
|
|
SYS_SETSOCKOPT 14
|
|
SYS_GETSOCKOPT 15
|
|
SYS_SENDMSG 16
|
|
SYS_RECVMSG 17
|
|
SYS_ACCEPT4 18
|
|
SYS_RECVMMSG 19
|
|
SYS_SENDMMSG 20
|