Teach truss how to display shm_open(2), shm_unlink(2)
Submitted by: Thomas Munro <munro@ip9.org> Reviewed by: tuexen, kib Approved by: re (rgrimes) MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D17457
This commit is contained in:
parent
6b45121a6d
commit
24eeedb5e9
@ -461,6 +461,10 @@ static struct syscall decoded_syscalls[] = {
|
||||
{ .name = "setsockopt", .ret_type = 1, .nargs = 5,
|
||||
.args = { { Int, 0 }, { Sockoptlevel, 1 }, { Sockoptname, 2 },
|
||||
{ Ptr | IN, 3 }, { Socklent, 4 } } },
|
||||
{ .name = "shm_open", .ret_type = 1, .nargs = 3,
|
||||
.args = { { Name | IN, 0 }, { Open, 1 }, { Octal, 2 } } },
|
||||
{ .name = "shm_unlink", .ret_type = 1, .nargs = 1,
|
||||
.args = { { Name | IN, 0 } } },
|
||||
{ .name = "shutdown", .ret_type = 1, .nargs = 2,
|
||||
.args = { { Int, 0 }, { Shutdown, 1 } } },
|
||||
{ .name = "sigaction", .ret_type = 1, .nargs = 3,
|
||||
|
Loading…
Reference in New Issue
Block a user