mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-04 09:09:56 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=358118
@ -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