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

Michael Tuexen tuexen at FreeBSD.org
Wed May 3 12:26:18 UTC 2017


Author: tuexen
Date: Wed May  3 12:26:16 2017
New Revision: 317739
URL: https://svnweb.freebsd.org/changeset/base/317739

Log:
  Add support for sendmsg() and recvmsg().

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

Modified: head/usr.bin/truss/syscalls.c
==============================================================================
--- head/usr.bin/truss/syscalls.c	Wed May  3 12:24:31 2017	(r317738)
+++ head/usr.bin/truss/syscalls.c	Wed May  3 12:26:16 2017	(r317739)
@@ -281,6 +281,8 @@ static struct syscall decoded_syscalls[]
 	  .args = { { Int, 0 }, { BinString | OUT, 1 }, { Sizet, 2 },
 	            { Msgflags, 3 }, { Sockaddr | OUT, 4 },
 	            { Ptr | OUT, 5 } } },
+	{ .name = "recvmsg", .ret_type = 1, .nargs = 3,
+	  .args = { { Int, 0 }, { Ptr, 1 }, { Msgflags, 2 } } },
 	{ .name = "rename", .ret_type = 1, .nargs = 2,
 	  .args = { { Name, 0 }, { Name, 1 } } },
 	{ .name = "renameat", .ret_type = 1, .nargs = 4,
@@ -292,6 +294,8 @@ static struct syscall decoded_syscalls[]
 	{ .name = "select", .ret_type = 1, .nargs = 5,
 	  .args = { { Int, 0 }, { Fd_set, 1 }, { Fd_set, 2 }, { Fd_set, 3 },
 		    { Timeval, 4 } } },
+	{ .name = "sendmsg", .ret_type = 1, .nargs = 3,
+	  .args = { { Int, 0 }, { Ptr, 1 }, { Msgflags, 2 } } },
 	{ .name = "sendto", .ret_type = 1, .nargs = 6,
 	  .args = { { Int, 0 }, { BinString | IN, 1 }, { Sizet, 2 },
 	            { Msgflags, 3 }, { Sockaddr | IN, 4 },


More information about the svn-src-head mailing list