Created attachment 233975 [details] Add ppoll() argument decoding to truss/syscalls.c truss(1) decodes poll(2)'s arguments, but fails to do so for ppoll(2). The attached small patch adds this missing part. I wrote and tested it on 13.1-STABLE, but it should apply to -CURRENT as well.
Patch LGTM, please go ahead and commit. Or if you wish I can do it on your behalf.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=9bf4983f54919c38a0e3aae2bea09c04c8ee4421 commit 9bf4983f54919c38a0e3aae2bea09c04c8ee4421 Author: Christian Weisgerber <naddy@FreeBSD.org> AuthorDate: 2022-05-17 18:20:53 +0000 Commit: Christian Weisgerber <naddy@FreeBSD.org> 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(+)
A commit in branch stable/13 references this bug: 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(+)
A commit in branch stable/12 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=ca4703ef1f65dbeb8c7870dec7afc7cdf026d217 commit ca4703ef1f65dbeb8c7870dec7afc7cdf026d217 Author: Christian Weisgerber <naddy@FreeBSD.org> AuthorDate: 2022-05-17 18:20:53 +0000 Commit: Christian Weisgerber <naddy@FreeBSD.org> CommitDate: 2022-05-20 13:10:36 +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(+)