aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/truss/syscalls.c
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2018-01-14 09:51:25 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2018-01-14 09:51:25 +0000
commitdfcd2888aa1efa0c65d2194f0d762978aaf84f97 (patch)
tree240c8511841dc4f0a265e639aefbc106a86f0ffc /usr.bin/truss/syscalls.c
parenta12d97c55a07264a051399a11043da2b69685346 (diff)
Notes
Diffstat (limited to 'usr.bin/truss/syscalls.c')
-rw-r--r--usr.bin/truss/syscalls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c
index 582c8f6916d88..b7653245fa2cc 100644
--- a/usr.bin/truss/syscalls.c
+++ b/usr.bin/truss/syscalls.c
@@ -387,7 +387,7 @@ static struct syscall decoded_syscalls[] = {
{ .name = "read", .ret_type = 1, .nargs = 3,
.args = { { Int, 0 }, { BinString | OUT, 1 }, { Sizet, 2 } } },
{ .name = "readv", .ret_type = 1, .nargs = 3,
- .args = { { Int, 0 }, { Iovec, 1 }, { Int, 2 } } },
+ .args = { { Int, 0 }, { Iovec | OUT, 1 }, { Int, 2 } } },
{ .name = "readlink", .ret_type = 1, .nargs = 3,
.args = { { Name, 0 }, { Readlinkres | OUT, 1 }, { Sizet, 2 } } },
{ .name = "readlinkat", .ret_type = 1, .nargs = 4,
@@ -523,7 +523,7 @@ static struct syscall decoded_syscalls[] = {
{ .name = "write", .ret_type = 1, .nargs = 3,
.args = { { Int, 0 }, { BinString | IN, 1 }, { Sizet, 2 } } },
{ .name = "writev", .ret_type = 1, .nargs = 3,
- .args = { { Int, 0 }, { Iovec, 1 }, { Int, 2 } } },
+ .args = { { Int, 0 }, { Iovec | IN, 1 }, { Int, 2 } } },
/* Linux ABI */
{ .name = "linux_access", .ret_type = 1, .nargs = 2,