aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/truss
diff options
context:
space:
mode:
authorThomas Munro <tmunro@FreeBSD.org>2023-02-21 09:40:14 +0000
committerThomas Munro <tmunro@FreeBSD.org>2023-02-21 09:40:14 +0000
commit58e3631bd08cf539668951c93ee2e943f963ea05 (patch)
tree7cd1e452860798da4c689756361825a5837fe31c /usr.bin/truss
parent9c474dc51b0b09ff81339caee6772e454dd470e4 (diff)
downloadsrc-58e3631bd08cf539668951c93ee2e943f963ea05.tar.gz
src-58e3631bd08cf539668951c93ee2e943f963ea05.zip
Diffstat (limited to 'usr.bin/truss')
-rw-r--r--usr.bin/truss/syscalls.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c
index ab68e079e6ea..2ac4b1a4b003 100644
--- a/usr.bin/truss/syscalls.c
+++ b/usr.bin/truss/syscalls.c
@@ -428,6 +428,9 @@ static const struct syscall_decode decoded_syscalls[] = {
{ .name = "pread", .ret_type = 1, .nargs = 4,
.args = { { Int, 0 }, { BinString | OUT, 1 }, { Sizet, 2 },
{ QuadHex, 3 } } },
+ { .name = "preadv", .ret_type = 1, .nargs = 4,
+ .args = { { Int, 0 }, { Iovec | OUT, 1 }, { Int, 2 },
+ { QuadHex, 3 } } },
{ .name = "procctl", .ret_type = 1, .nargs = 4,
.args = { { Idtype, 0 }, { Quad, 1 }, { Procctl, 2 }, { Ptr, 3 } } },
{ .name = "ptrace", .ret_type = 1, .nargs = 4,
@@ -435,6 +438,9 @@ static const struct syscall_decode decoded_syscalls[] = {
{ .name = "pwrite", .ret_type = 1, .nargs = 4,
.args = { { Int, 0 }, { BinString | IN, 1 }, { Sizet, 2 },
{ QuadHex, 3 } } },
+ { .name = "pwritev", .ret_type = 1, .nargs = 4,
+ .args = { { Int, 0 }, { Iovec | IN, 1 }, { Int, 2 },
+ { QuadHex, 3 } } },
{ .name = "quotactl", .ret_type = 1, .nargs = 4,
.args = { { Name, 0 }, { Quotactlcmd, 1 }, { Int, 2 }, { Ptr, 3 } } },
{ .name = "read", .ret_type = 1, .nargs = 3,