summaryrefslogtreecommitdiff
path: root/usr.bin/truss/syscalls.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2017-06-26 22:48:04 +0000
committerWarner Losh <imp@FreeBSD.org>2017-06-26 22:48:04 +0000
commit1b224b09e90ac1ca3e5806ea0c8963811efbb856 (patch)
treee52adaf1f31e72dadfffe24cd672b4a5e799740c /usr.bin/truss/syscalls.c
parent8e26c6b62f7cb9650cb1735a8e2bdb24915e6935 (diff)
downloadsrc-test2-1b224b09e90ac1ca3e5806ea0c8963811efbb856.tar.gz
src-test2-1b224b09e90ac1ca3e5806ea0c8963811efbb856.zip
Notes
Diffstat (limited to 'usr.bin/truss/syscalls.c')
-rw-r--r--usr.bin/truss/syscalls.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c
index 80547f4a83c4..ce9f5d07726c 100644
--- a/usr.bin/truss/syscalls.c
+++ b/usr.bin/truss/syscalls.c
@@ -146,6 +146,12 @@ static struct syscall decoded_syscalls[] = {
.args = { { Int, 0 }, { Timespec | OUT, 1 } } },
{ .name = "close", .ret_type = 1, .nargs = 1,
.args = { { Int, 0 } } },
+ { .name = "compat11.fstat", .ret_type = 1, .nargs = 2,
+ .args = { { Int, 0 }, { Stat11 | OUT, 1 } } },
+ { .name = "compat11.lstat", .ret_type = 1, .nargs = 2,
+ .args = { { Name | IN, 0 }, { Stat11 | OUT, 1 } } },
+ { .name = "compat11.stat", .ret_type = 1, .nargs = 2,
+ .args = { { Name | IN, 0 }, { Stat11 | OUT, 1 } } },
{ .name = "connect", .ret_type = 1, .nargs = 3,
.args = { { Int, 0 }, { Sockaddr | IN, 1 }, { Socklent, 2 } } },
{ .name = "connectat", .ret_type = 1, .nargs = 4,
@@ -216,14 +222,6 @@ static struct syscall decoded_syscalls[] = {
.args = { { Int, 0 }, { Fcntl, 1 }, { Fcntlflag, 2 } } },
{ .name = "flock", .ret_type = 1, .nargs = 2,
.args = { { Int, 0 }, { Flockop, 1 } } },
- { .name = "compat11.fstat", .ret_type = 1, .nargs = 2,
- .args = { { Int, 0 }, { Stat11 | OUT, 1 } } },
- { .name = "compat11.lstat", .ret_type = 1, .nargs = 2,
- .args = { { Name | IN, 0 }, { Stat11 | OUT, 1 } } },
- { .name = "compat11.stat", .ret_type = 1, .nargs = 2,
- .args = { { Name | IN, 0 }, { Stat11 | OUT, 1 } } },
- { .name = "compat11.stat", .ret_type = 1, .nargs = 2,
- .args = { { Name | IN, 0 }, { Stat11 | OUT, 1 } } },
{ .name = "fstat", .ret_type = 1, .nargs = 2,
.args = { { Int, 0 }, { Stat | OUT, 1 } } },
{ .name = "fstatat", .ret_type = 1, .nargs = 4,