The branch main has been updated by naddy (ports committer):

URL: 
https://cgit.FreeBSD.org/src/commit/?id=9bf4983f54919c38a0e3aae2bea09c04c8ee4421

commit 9bf4983f54919c38a0e3aae2bea09c04c8ee4421
Author:     Christian Weisgerber <[email protected]>
AuthorDate: 2022-05-17 18:20:53 +0000
Commit:     Christian Weisgerber <[email protected]>
CommitDate: 2022-05-17 18:23:25 +0000

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

Reply via email to