From nobody Fri May 20 13:11:17 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 3FE891AE5CD6; Fri, 20 May 2022 13:11:18 +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 4L4Rtt1Fbtz3GsG; Fri, 20 May 2022 13:11:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653052278; 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=+RC5MJRELj690x4G3svOTvXh8yON55j5acHWbtWANAs=; b=CSiAa5vRWG8+wI3ZyqJ0vUMFrAoY7bXAT1vUxsn6sxgkdwYLaPd0hFuniZYm7OFnKcVGxv xY9zrquq0mo3Snzk40DYZQf982afX8M5lBUriO+EklxvSKQfUWasSWQFkPdR/0lTt+9Eds MGZ+S68E3TA+VrbdZ9OsD6eAdRTeKIhHHnLKise4Uo9R6Vilhk7E7D+utVWSVQ+EcouotT Td4u5TdFmpX9b7H0IwFyHGhZA526XF0YIETMIqLEZxpchSDvm/vTf0PjotMqmfZKc/Z1Mi IohYbGNFTQjJr3a/bBr/kepDvQehLk3o0LuaC+9gUGyh8aN/FPh/jMS0Fqyy4g== 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 0C5F512F24; Fri, 20 May 2022 13:11:18 +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 24KDBHWw017551; Fri, 20 May 2022 13:11:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24KDBHI0017550; Fri, 20 May 2022 13:11:17 GMT (envelope-from git) Date: Fri, 20 May 2022 13:11:17 GMT Message-Id: <202205201311.24KDBHI0017550@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: ca4703ef1f65 - stable/12 - 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/12 X-Git-Reftype: branch X-Git-Commit: ca4703ef1f65dbeb8c7870dec7afc7cdf026d217 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653052278; 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=+RC5MJRELj690x4G3svOTvXh8yON55j5acHWbtWANAs=; b=XYcdhh0fc/7yeH2a/ehF98MBKTA27Va/M9PfLCr1DiaumW/OER40nfV3tTAqZ6cSTMOmyL +dnkSooROF9TnVXvbwi4ffYlzCsATe8M8oEYIda6sSdSaA4BFcvNhh0bTaGZIUeQkkcye5 bvEUGpDrRj52MOW0tL3JrhDbKyXN1Xgvs50S9M7Hz01/98leQZbNgX1721P1AGUT0Ke0R7 YCJpcz3QIh9dHyea5JqRoOONRs4nsH0tW/1O4WwEJSHHdb5/ZYbIN7fQoGTeyvi6pqRtCH jGJ2KbpE/dMSTZNXDYNzxG+fh31pBwb0Qvkc6QOQyhQ2oVY2wAZa2Ux6y6Ewkw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653052278; a=rsa-sha256; cv=none; b=mhLmpkk2+rd/Xh0R8bmcQ7YI+56M3+wcV1nOH7o5qDJDQTYh9xrWxNbl2doAcevknPsB8g Hx/4wZ4/awuyeZm7gM/0D0tx5CfMfhyzbmYIyq1pc4qZHFrfWnCZvIR4GCqyLYTdtcUIKg 7iEIpCeRceM6OIqmNiw3T5A+Zd5Z+JX63ZEjbmFY49Lt+RuK7fJoDL/SiDwbAvBu8m4XV7 fzj126olNxjiplzoCWRNAoXEs5HWVlg2HAJ/RT+OyFUl3xqp5Cd+LopOhIpzkCdtUy1035 VAkcI4lXSq+Is7QFKpRlthW0e8Sm5LoPT/gqyxlA5uDUncLxdmTrM5YAF0CM5Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by naddy (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=ca4703ef1f65dbeb8c7870dec7afc7cdf026d217 commit ca4703ef1f65dbeb8c7870dec7afc7cdf026d217 Author: Christian Weisgerber AuthorDate: 2022-05-17 18:20:53 +0000 Commit: Christian Weisgerber 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(+) diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c index 155f8187ca66..3a40f4fcd3f1 100644 --- a/usr.bin/truss/syscalls.c +++ b/usr.bin/truss/syscalls.c @@ -383,6 +383,9 @@ static struct syscall 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 } } },