svn commit: r320389 - head/usr.bin/truss
Warner Losh
imp at FreeBSD.org
Mon Jun 26 22:48:05 UTC 2017
Author: imp
Date: Mon Jun 26 22:48:04 2017
New Revision: 320389
URL: https://svnweb.freebsd.org/changeset/base/320389
Log:
Sort the compat11.* syscalls I added. Remove duplicate compat11.stat.
Submitted by: jhb@
Modified:
head/usr.bin/truss/syscalls.c
Modified: head/usr.bin/truss/syscalls.c
==============================================================================
--- head/usr.bin/truss/syscalls.c Mon Jun 26 22:32:52 2017 (r320388)
+++ head/usr.bin/truss/syscalls.c Mon Jun 26 22:48:04 2017 (r320389)
@@ -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,
More information about the svn-src-all
mailing list