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

John Baldwin jhb at FreeBSD.org
Fri Aug 25 19:06:38 UTC 2017


Author: jhb
Date: Fri Aug 25 19:06:36 2017
New Revision: 322899
URL: https://svnweb.freebsd.org/changeset/base/322899

Log:
  Decode arguments passed to thr_set_name().
  
  MFC after:	1 month

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

Modified: head/usr.bin/truss/syscalls.c
==============================================================================
--- head/usr.bin/truss/syscalls.c	Fri Aug 25 18:51:10 2017	(r322898)
+++ head/usr.bin/truss/syscalls.c	Fri Aug 25 19:06:36 2017	(r322899)
@@ -483,6 +483,8 @@ static struct syscall decoded_syscalls[] = {
 	  .args = { { Long, 0 }, { Signal, 1 } } },
 	{ .name = "thr_self", .ret_type = 1, .nargs = 1,
 	  .args = { { Ptr, 0 } } },
+	{ .name = "thr_set_name", .ret_type = 1, .nargs = 2,
+	  .args = { { Long, 0 }, { Name, 1 } } },
 	{ .name = "truncate", .ret_type = 1, .nargs = 2,
 	  .args = { { Name | IN, 0 }, { QuadHex | IN, 1 } } },
 #if 0


More information about the svn-src-head mailing list