svn commit: r319680 - head/usr.bin/truss
John Baldwin
jhb at FreeBSD.org
Thu Jun 8 04:45:15 UTC 2017
Author: jhb
Date: Thu Jun 8 04:45:13 2017
New Revision: 319680
URL: https://svnweb.freebsd.org/changeset/base/319680
Log:
Decode arguments to minherit().
Modified:
head/usr.bin/truss/syscall.h
head/usr.bin/truss/syscalls.c
Modified: head/usr.bin/truss/syscall.h
==============================================================================
--- head/usr.bin/truss/syscall.h Thu Jun 8 04:31:15 2017 (r319679)
+++ head/usr.bin/truss/syscall.h Thu Jun 8 04:45:13 2017 (r319680)
@@ -49,7 +49,7 @@ enum Argtype { None = 1, Hex, Octal, Int, UInt, LongHe
CapFcntlRights, Fadvice, FileFlags, Flockop, Getfsstatmode, Kldsymcmd,
Kldunloadflags, Sizet, Madvice, Socklent, Sockprotocol, Sockoptlevel,
Sockoptname, Msgflags, CapRights, PUInt, PQuadHex, Acltype,
- Extattrnamespace,
+ Extattrnamespace, Minherit,
CloudABIAdvice, CloudABIClockID, ClouduABIFDSFlags,
CloudABIFDStat, CloudABIFileStat, CloudABIFileType,
Modified: head/usr.bin/truss/syscalls.c
==============================================================================
--- head/usr.bin/truss/syscalls.c Thu Jun 8 04:31:15 2017 (r319679)
+++ head/usr.bin/truss/syscalls.c Thu Jun 8 04:45:13 2017 (r319680)
@@ -299,6 +299,8 @@ static struct syscall decoded_syscalls[] = {
.args = { { Name | IN, 0 }, { Timeval2 | IN, 1 } } },
{ .name = "madvise", .ret_type = 1, .nargs = 3,
.args = { { Ptr, 0 }, { Sizet, 1 }, { Madvice, 2 } } },
+ { .name = "minherit", .ret_type = 1, .nargs = 3,
+ .args = { { Ptr, 0 }, { Sizet, 1 }, { Minherit, 2 } } },
{ .name = "mkdir", .ret_type = 1, .nargs = 2,
.args = { { Name, 0 }, { Octal, 1 } } },
{ .name = "mkdirat", .ret_type = 1, .nargs = 3,
@@ -2096,6 +2098,10 @@ print_arg(struct syscall_args *sc, unsigned long *args
break;
case Extattrnamespace:
print_integer_arg(sysdecode_extattrnamespace, fp,
+ args[sc->offset]);
+ break;
+ case Minherit:
+ print_integer_arg(sysdecode_minherit_inherit, fp,
args[sc->offset]);
break;
More information about the svn-src-all
mailing list