truss: fix shm_open2 oversight (BinString -> Name)

BinString assumes a length in the next argument; Name is more appropriate
for the final argument.
This commit is contained in:
Kyle Evans 2020-02-19 15:12:01 +00:00
parent c1b0c84747
commit 733ba7eff6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=358118

View File

@ -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,