Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Aug 2017 19:06:36 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r322899 - head/usr.bin/truss
Message-ID:  <201708251906.v7PJ6a4C026632@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708251906.v7PJ6a4C026632>