diff options
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/truss/syscalls.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c index d7edb91..54e4c1d 100644 --- a/usr.bin/truss/syscalls.c +++ b/usr.bin/truss/syscalls.c @@ -103,9 +103,9 @@ struct syscall syscalls[] = { { "linux_newfstat", 1, 2, { { Int, 0 }, { Ptr | OUT, 1 }}}, { "write", 1, 3, - { { Int, 0}, { Ptr | IN, 1 }, { Int, 2 }}}, + { { Int, 0 }, { Ptr | IN, 1 }, { Int, 2 }}}, { "ioctl", 1, 3, - { { Int, 0}, { Ioctl, 1 }, { Hex, 2 }}}, + { { Int, 0 }, { Ioctl, 1 }, { Hex, 2 }}}, { "break", 1, 1, { { Hex, 0 }}}, { "exit", 0, 1, { { Hex, 0 }}}, { "access", 1, 2, { { String | IN, 0 }, { Int, 1 }}}, @@ -121,6 +121,14 @@ struct syscall syscalls[] = { { { Hex, 0 }, { Sockaddr | OUT, 1 }, { Ptr | OUT, 2 } } }, { "getsockname", 1, 3, { { Hex, 0 }, { Sockaddr | OUT, 1 }, { Ptr | OUT, 2 } } }, + { "recv", 1, 4, + { { Hex, 0 }, { Ptr | OUT, 1 }, { Int, 2 }, { Hex, 3 } } }, + { "recvfrom", 1, 6, + { { Hex, 0 }, { Ptr | IN, 1 }, { Int, 3 }, { Hex, 3 }, { Sockaddr | OUT, 4 }, { Ptr | OUT, 5 } } }, + { "send", 1, 4, + { { Hex, 0 }, { Ptr | IN, 1 }, { Int, 2 }, { Hex, 3 } } }, + { "sendto", 1, 6, + { { Hex, 0 }, { Ptr | IN, 1 }, { Int, 3 }, { Hex, 3 }, { Sockaddr | IN, 4 }, { Ptr | IN, 5 } } }, { "execve", 1, 3, { { String | IN, 0 }, { StringArray | IN, 1 }, { StringArray | IN, 2 } } }, { "linux_execve", 1, 3, |