summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-08-05 10:45:06 +0000
committerdes <des@FreeBSD.org>2003-08-05 10:45:06 +0000
commit1f50902a452576ff8aab25fab86a0e7e343a3eaa (patch)
tree9daca91539bc4c077e503d1aee2ee0ed1098ca71 /usr.bin
parent190f128893cf48408db1142657b19d9f7ea8f5ea (diff)
downloadFreeBSD-src-1f50902a452576ff8aab25fab86a0e7e343a3eaa.zip
FreeBSD-src-1f50902a452576ff8aab25fab86a0e7e343a3eaa.tar.gz
Add recv(2), recvfrom(2), send(2) and sendfrom(2).
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/truss/syscalls.c12
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,
OpenPOWER on IntegriCloud