From nobody Fri May 20 12:51:52 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4DD321AE17DE; Fri, 20 May 2022 12:51:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L4RSS6pD5z3CWN; Fri, 20 May 2022 12:51:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653051113; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=uUNHnxaB1vTlGEC4757zHs7O49Wdf3XYhSxRm9Qyar8=; b=EGPBT29E/s2gxw6gMpfGV+SzEoQLIjXQdqZfZ2h1Q9JQ3MrrYKRquSKcxmII3X/wrb0pVs VYkM95cGL9qWuuP7l5BaLtGtgFaB2mjxZ4l0s1IHUedBXcDKJ0yARWf7HyyQ6oHawmua3Q bDOZBEuE49Y42aCVjixKe4ownlUNbOrsUJE2an5O1/gasnHq8tUvb1uADRqoqkGEO+juxL bQL4Ns5CanZVGUCSK/j6BNNFTnPej6ho1TcN9QyEOoXI58DmHYLYZqoYN28ydf9WwXEpYu f4lnxtin8zYHMFawHqt2/1IJfOJz7ev322zuk6k7m55bTC4hfMkihRxu9ZcjjQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B7559124D1; Fri, 20 May 2022 12:51:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24KCpqnU091387; Fri, 20 May 2022 12:51:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24KCpqcm091386; Fri, 20 May 2022 12:51:52 GMT (envelope-from git) Date: Fri, 20 May 2022 12:51:52 GMT Message-Id: <202205201251.24KCpqcm091386@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Christian Weisgerber Subject: git: 657219c49dc0 - stable/13 - truss: add ppoll(2) argument decoding List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: naddy X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 657219c49dc0c5289245c4817f5691cc0357c6f7 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653051113; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=uUNHnxaB1vTlGEC4757zHs7O49Wdf3XYhSxRm9Qyar8=; b=nBeNQSjdKfbFyXymped0EmOpU1s+9eBwQNtEPuHzGjV1Tsn2r0eYTb+sDRxYZtP1QTl+Lj IW96t0jns9ZY+VofGgpoewb1KOFztYqWKVqh0PSIMz7AfY3i0aeCELT4TImY3L5PngtwfJ DtRMEvEkM2J8XFL/vGpF39dgDvT7mE1yt79IQumL0WtYRFfF8po7Ri38nyizb+h1GnZy0F 0OP4GVrAXL25NC4FWWRSmSb9fFsGC9MQMXLBPw0z/yQ7LuamLY/1Ts8Lr+LuL3Rh7HYhv/ kqzJx3aKZZ+QRopKb9h4Dqirn7E45NOPWe0+CiXvitPO48WwUQ/6C7yiF7RBRg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653051113; a=rsa-sha256; cv=none; b=wUEaGNxzVm+571jKyb1KjKYS+y+cSlqu0+H8At7fyxPcfG/pVMhZcsTvSwBzEU4ab3lA39 21HLiR7A079INnb9vIlddmhUaQ+m44IW0AusKfdTQKOxpEFG388AAOnk55AmkOKbEcgVPQ AD98Dcv3PG3u42OEwfr5V1lBoVxgKh2jo50/D9WO1bBAMowgfOQnopT/l0n9y/kygcYng7 2e0H8DtilYiP/ACQ/jOpKH7CFRacpZlRJc3NPJ+jXHhO0EfDrFv20CbZPe5Lanqun8kswx Lyo7ovEJyH266RlsLBc2Nz2f9zMBqdiBa5wMJNMtCr+QfW11gx4z49R0MDzbeQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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 AuthorDate: 2022-05-17 18:20:53 +0000 Commit: Christian Weisgerber 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 } } },