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:
parent
c1b0c84747
commit
733ba7eff6
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user