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,
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to