svn commit: r286380 - head/usr.bin/truss
John Baldwin
jhb at FreeBSD.org
Thu Aug 6 18:32:33 UTC 2015
Author: jhb
Date: Thu Aug 6 18:32:32 2015
New Revision: 286380
URL: https://svnweb.freebsd.org/changeset/base/286380
Log:
Decode the arguments to mkfifo() and fix an off-by-one error in the arguments
to mknod().
Modified:
head/usr.bin/truss/syscalls.c
Modified: head/usr.bin/truss/syscalls.c
==============================================================================
--- head/usr.bin/truss/syscalls.c Thu Aug 6 18:29:26 2015 (r286379)
+++ head/usr.bin/truss/syscalls.c Thu Aug 6 18:32:32 2015 (r286380)
@@ -141,8 +141,10 @@ static struct syscall syscalls[] = {
.args = { { Name, 0 } } },
{ .name = "chroot", .ret_type = 0, .nargs = 1,
.args = { { Name, 0 } } },
+ { .name = "mkfifo", .ret_type = 0, .nargs = 2,
+ .args = { { Name, 0 }, { Octal, 1 } } },
{ .name = "mknod", .ret_type = 0, .nargs = 3,
- .args = { { Name, 0 }, { Octal, 1 }, { Int, 3 } } },
+ .args = { { Name, 0 }, { Octal, 1 }, { Int, 2 } } },
{ .name = "chmod", .ret_type = 0, .nargs = 2,
.args = { { Name, 0 }, { Octal, 1 } } },
{ .name = "chown", .ret_type = 0, .nargs = 3,
More information about the svn-src-head
mailing list