svn commit: r317730 - head/usr.bin/truss
Michael Tuexen
tuexen at FreeBSD.org
Wed May 3 09:09:36 UTC 2017
Author: tuexen
Date: Wed May 3 09:09:34 2017
New Revision: 317730
URL: https://svnweb.freebsd.org/changeset/base/317730
Log:
Add support for listen() call.
Modified:
head/usr.bin/truss/syscalls.c
Modified: head/usr.bin/truss/syscalls.c
==============================================================================
--- head/usr.bin/truss/syscalls.c Wed May 3 08:10:03 2017 (r317729)
+++ head/usr.bin/truss/syscalls.c Wed May 3 09:09:34 2017 (r317730)
@@ -212,7 +212,9 @@ static struct syscall decoded_syscalls[]
{ .name = "linkat", .ret_type = 1, .nargs = 5,
.args = { { Atfd, 0 }, { Name, 1 }, { Atfd, 2 }, { Name, 3 },
{ Atflags, 4 } } },
- { .name = "lseek", .ret_type = 2, .nargs = 3,
+ { .name = "listen", .ret_type = 1, .nargs = 2,
+ .args = { { Int, 0 }, { Int, 1 } } },
+ { .name = "lseek", .ret_type = 2, .nargs = 3,
.args = { { Int, 0 }, { QuadHex, 1 }, { Whence, 2 } } },
{ .name = "lstat", .ret_type = 1, .nargs = 2,
.args = { { Name | IN, 0 }, { Stat | OUT, 1 } } },
More information about the svn-src-head
mailing list