svn commit: r358118 - head/usr.bin/truss
Kyle Evans
kevans at FreeBSD.org
Wed Feb 19 15:12:01 UTC 2020
Author: kevans
Date: Wed Feb 19 15:12:01 2020
New Revision: 358118
URL: https://svnweb.freebsd.org/changeset/base/358118
Log:
truss: fix shm_open2 oversight (BinString -> Name)
BinString assumes a length in the next argument; Name is more appropriate
for the final argument.
Modified:
head/usr.bin/truss/syscalls.c
Modified: head/usr.bin/truss/syscalls.c
==============================================================================
--- head/usr.bin/truss/syscalls.c Wed Feb 19 14:55:59 2020 (r358117)
+++ head/usr.bin/truss/syscalls.c Wed Feb 19 15:12:01 2020 (r358118)
@@ -473,7 +473,7 @@ static struct syscall decoded_syscalls[] = {
.args = { { ShmName | IN, 0 }, { Open, 1 }, { Octal, 2 } } },
{ .name = "shm_open2", .ret_type = 1, .nargs = 5,
.args = { { ShmName | IN, 0 }, { Open, 1 }, { Octal, 2 },
- { ShmFlags, 3 }, { BinString | IN, 4 } } },
+ { ShmFlags, 3 }, { Name | IN, 4 } } },
{ .name = "shm_rename", .ret_type = 1, .nargs = 3,
.args = { { Name | IN, 0 }, { Name | IN, 1 }, { Hex, 2 } } },
{ .name = "shm_unlink", .ret_type = 1, .nargs = 1,
More information about the svn-src-all
mailing list