svn commit: r321258 - head/usr.bin/truss

Mark Johnston markj at FreeBSD.org
Wed Jul 19 23:34:29 UTC 2017


Author: markj
Date: Wed Jul 19 23:34:28 2017
New Revision: 321258
URL: https://svnweb.freebsd.org/changeset/base/321258

Log:
  Decode FreeBSD11 fstatat calls.

Modified:
  head/usr.bin/truss/syscalls.c

Modified: head/usr.bin/truss/syscalls.c
==============================================================================
--- head/usr.bin/truss/syscalls.c	Wed Jul 19 22:41:22 2017	(r321257)
+++ head/usr.bin/truss/syscalls.c	Wed Jul 19 23:34:28 2017	(r321258)
@@ -148,6 +148,9 @@ static struct syscall decoded_syscalls[] = {
 	  .args = { { Int, 0 } } },
 	{ .name = "compat11.fstat", .ret_type = 1, .nargs = 2,
 	  .args = { { Int, 0 }, { Stat11 | OUT, 1 } } },
+	{ .name = "compat11.fstatat", .ret_type = 1, .nargs = 4,
+	  .args = { { Atfd, 0 }, { Name | IN, 1 }, { Stat11 | OUT, 2 },
+		    { Atflags, 3 } } },
 	{ .name = "compat11.lstat", .ret_type = 1, .nargs = 2,
 	  .args = { { Name | IN, 0 }, { Stat11 | OUT, 1 } } },
 	{ .name = "compat11.stat", .ret_type = 1, .nargs = 2,


More information about the svn-src-head mailing list