mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
truss: Add preadv(2) and pwritev(2).
We already knew how to decode readv(2)/writev(2). Add the versions with an offset. Reviewed by: asomers Differential Revision: https://reviews.freebsd.org/D27531 MFC after: 2 weeks
This commit is contained in:
parent
9c474dc51b
commit
58e3631bd0
1 changed files with 6 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue