Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 May 2022 12:51:52 GMT
From:      Christian Weisgerber <naddy@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 657219c49dc0 - stable/13 - truss: add ppoll(2) argument decoding
Message-ID:  <202205201251.24KCpqcm091386@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by naddy (ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=657219c49dc0c5289245c4817f5691cc0357c6f7

commit 657219c49dc0c5289245c4817f5691cc0357c6f7
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2022-05-17 18:20:53 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2022-05-20 12:51:40 +0000

    truss: add ppoll(2) argument decoding
    
    PR:             264029
    Approved by:    emaste
    MFC after:      3 days
    
    (cherry picked from commit 9bf4983f54919c38a0e3aae2bea09c04c8ee4421)
---
 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 7c9172e070d7..a84f64f70ff7 100644
--- a/usr.bin/truss/syscalls.c
+++ b/usr.bin/truss/syscalls.c
@@ -423,6 +423,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 } } },



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205201251.24KCpqcm091386>