From 9bf4983f54919c38a0e3aae2bea09c04c8ee4421 Mon Sep 17 00:00:00 2001 From: Christian Weisgerber Date: Tue, 17 May 2022 20:20:53 +0200 Subject: truss: add ppoll(2) argument decoding PR: 264029 Approved by: emaste MFC after: 3 days --- usr.bin/truss/syscalls.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c index bd055fb687ed..171bed54edb0 100644 --- a/usr.bin/truss/syscalls.c +++ b/usr.bin/truss/syscalls.c @@ -422,6 +422,9 @@ static const struct syscall_decode decoded_syscalls[] = { { Fadvice, 3 } } }, { .name = "posix_openpt", .ret_type = 1, .nargs = 1, .args = { { Open, 0 } } }, + { .name = "ppoll", .ret_type = 1, .nargs = 4, + .args = { { Pollfd, 0 }, { Int, 1 }, { Timespec | IN, 2 }, + { Sigset | IN, 3 } } }, { .name = "pread", .ret_type = 1, .nargs = 4, .args = { { Int, 0 }, { BinString | OUT, 1 }, { Sizet, 2 }, { QuadHex, 3 } } }, -- cgit v1.2.3