mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
truss: Decode FreeBSD 11 mknod(2) and mknodat(2)
Sponsored by: The FreeBSD Foundation
(cherry picked from commit cd497bd40b)
This commit is contained in:
parent
010f197770
commit
8aed0580e4
1 changed files with 6 additions and 2 deletions
|
|
@ -193,6 +193,10 @@ static const struct syscall_decode decoded_syscalls[] = {
|
|||
{ Kevent11 | OUT, 3 }, { Int, 4 }, { Timespec, 5 } } },
|
||||
{ .name = "compat11.lstat", .ret_type = 1, .nargs = 2,
|
||||
.args = { { Name | IN, 0 }, { Stat11 | OUT, 1 } } },
|
||||
{ .name = "compat11.mknod", .ret_type = 1, .nargs = 3,
|
||||
.args = { { Name, 0 }, { Octal, 1 }, { Int, 2 } } },
|
||||
{ .name = "compat11.mknodat", .ret_type = 1, .nargs = 4,
|
||||
.args = { { Atfd, 0 }, { Name, 1 }, { Octal, 2 }, { Int, 3 } } },
|
||||
{ .name = "compat11.stat", .ret_type = 1, .nargs = 2,
|
||||
.args = { { Name | IN, 0 }, { Stat11 | OUT, 1 } } },
|
||||
{ .name = "connect", .ret_type = 1, .nargs = 3,
|
||||
|
|
@ -372,9 +376,9 @@ static const struct syscall_decode decoded_syscalls[] = {
|
|||
{ .name = "mkfifoat", .ret_type = 1, .nargs = 3,
|
||||
.args = { { Atfd, 0 }, { Name, 1 }, { Octal, 2 } } },
|
||||
{ .name = "mknod", .ret_type = 1, .nargs = 3,
|
||||
.args = { { Name, 0 }, { Octal, 1 }, { Int, 2 } } },
|
||||
.args = { { Name, 0 }, { Octal, 1 }, { Quad, 2 } } },
|
||||
{ .name = "mknodat", .ret_type = 1, .nargs = 4,
|
||||
.args = { { Atfd, 0 }, { Name, 1 }, { Octal, 2 }, { Int, 3 } } },
|
||||
.args = { { Atfd, 0 }, { Name, 1 }, { Octal, 2 }, { Quad, 3 } } },
|
||||
{ .name = "mlock", .ret_type = 1, .nargs = 2,
|
||||
.args = { { Ptr, 0 }, { Sizet, 1 } } },
|
||||
{ .name = "mlockall", .ret_type = 1, .nargs = 1,
|
||||
|
|
|
|||
Loading…
Reference in a new issue