From nobody Thu Apr 30 01:48:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1777473757; cv=none; d=zohomail.com; s=zohoarc; b=ZTc1xvTxNcF98a9+Xe6aY21q128lKlfbUy07Qg3Fk9/dV7pn8x0/yotNnk1drlLBvp/HIe/V4bxT15BGI3SIaWliKe5KHJkXsm3Gdcfqj6hynW1Id3kZz4dssVXGhPj2RbtS/gApf+/Xu4rVCQgVR12ZpwR8dzaahmCAhXHpVKw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1777473757; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=e8KIdnTwYtNFVsEx8h9MdN25QSua/BCoHhRi0Q+Ks7k=; b=XhQAuCBYSVgPX9va74+qp+zD9jWAs0wS32gXDMXsezmf9zNyks+d0h7orzjeTRzVpDfcv9QcLsd7D4MTWLBzwtgHGxtGd73nhd/4uOIL1KOU6641SB6/Jakch/Dv8ycEVPv+1cP9AaudDFx1ZHCyinyO7JkpSICM+Ao1ckeDDTk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1777473757525334.4096299218901; Wed, 29 Apr 2026 07:42:37 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wI66w-00018p-QE; Wed, 29 Apr 2026 10:41:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wI66o-00016d-G6 for qemu-devel@nongnu.org; Wed, 29 Apr 2026 10:41:50 -0400 Received: from mail-ot1-x332.google.com ([2607:f8b0:4864:20::332]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1wI66j-00039D-6A for qemu-devel@nongnu.org; Wed, 29 Apr 2026 10:41:47 -0400 Received: by mail-ot1-x332.google.com with SMTP id 46e09a7af769-7d55b97f358so8326095a34.3 for ; Wed, 29 Apr 2026 07:41:44 -0700 (PDT) Received: from rebo.bsdimp.com ([50.253.99.174]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7deab9d6067sm1553377a34.22.2026.04.29.07.41.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Apr 2026 07:41:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20251104.gappssmtp.com; s=20251104; t=1777473704; x=1778078504; darn=nongnu.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=e8KIdnTwYtNFVsEx8h9MdN25QSua/BCoHhRi0Q+Ks7k=; b=TRVk41fzuCnm4WmxC4ziX0XYUfFcnur4P771qg0l+cFqTQZRZWpi0CmHA08Gt/7B9a LIerCNxcdxrZp4rbBgDfDT+V2f88XX+ZqyXsGGmDvp5gtQMN0iE4nb60ypeDbDCuxXrd 381YEUQzVzgHNCe7uG/JA9bX4o7Md7iUraBs5vdAyO3bcgitO9yONb5xXvDClmgZpAq0 1IEWS8BUYfW4WYQrk9rAUiIaB71WgQnLs0QuQtVbs5/ZRQJsPwWN4eDucsxPk0AlVupY azglq1AAmuQcluEcKFetzse7lVvZJeRabRM5Fqav+mEzMsEE26bJF9C70fItW3L5J7df 3z3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777473704; x=1778078504; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=e8KIdnTwYtNFVsEx8h9MdN25QSua/BCoHhRi0Q+Ks7k=; b=DmcV0j8mqd+T0MCoN4Tl0Up7taWBNpwFbU4xLdWL2HdxZEUUl8HuPIfbojEJePQUjX LPrpdTFI4YEtoX8hMIMDwOjnXwlQyyGwuQtW/iEczxAWGkss63ZavHp5TZqv6qbxMXE6 oUaNIfJ3HjrX1oqsowDGQRUTwEZDOs2DARpBCi66sIvu8fMsbwzUYaqptcsmylBvdsQa LpiHzUwliFQIC/Ct4tH52b1imiUJzWIKnslc1AzTIdISdIU1ufao7z1maSENAiXRqIKv 1hMFK1dQGCSDgE5QS/eY82SUkle8kWnFKXXFtF1E2EZt52kBElqkUh0UBFlmXru0z2+l 3raQ== X-Gm-Message-State: AOJu0Yxjj/mBBApbXFPsZWO+BL4MxYoKCifO2ivydAt7KJ1Mb2hzr8uz CP16A0B7OsPmVCRQiDN+vq7Jb9QU2+Saazyl2Kdbr1kUYKZV0MCPs7HxCmuNPKULH8E= X-Gm-Gg: AeBDietv4AnSGRbVeaa36bVDt/+k9ptxr9TQwZhyAtcWXF5ncVpLKRQpsK+QjlUZyXH 5d7uHfJnYk0yGwuAAjrE5QKRzSZfbD0zaIDR4HHgZJ3NDTgQU72EdDYwpIvRzVKtrvEYvFuEu5L 8+T19o5sjtQn4+4D8idRGF3BQOqC9xX8aLjmH7U9zqHoV6Nuyq/h+joRm7mSAbqXI3HsgZjVjOQ BWkwATP3zWaeKiP+zNoJmOy9Bq+DRCu7U/JIgHZVpmAPUeODNLhKtB3p3H/h+Dd84stfFk2MFNJ unaq9n5yjblOS4MxiH6wG/8VAt5DebYMXmKbrW0gMdppkuMW4qfaWcATEU+ezbxnKtpae2i39hQ RXBpgufEhZA6J3t2wm28UD3XMCSlUG0LPlOSHOXNe2c6hQ0InJx1SG031lfgcAmtbcRL0YZmpBO TJUWPGcxnQlDGX7zmsOPGVY7MbmCyVHdE= X-Received: by 2002:a05:6830:8294:b0:7dc:c338:d23d with SMTP id 46e09a7af769-7dea6766a2cmr2603125a34.14.1777473703755; Wed, 29 Apr 2026 07:41:43 -0700 (PDT) From: Warner Losh Date: Wed, 29 Apr 2026 08:38:51 -0600 Subject: [PATCH v2 1/5] bsd-user: Add syscall header generator for FreeBSD MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260429-syscall-nr-v2-1-67a8d09dc13e@bsdimp.com> References: <20260429-syscall-nr-v2-0-67a8d09dc13e@bsdimp.com> In-Reply-To: <20260429-syscall-nr-v2-0-67a8d09dc13e@bsdimp.com> To: qemu-devel@nongnu.org Cc: Kyle Evans , Paolo Bonzini , =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Pierrick Bouvier , Warner Losh X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=1672; i=imp@bsdimp.com; h=from:subject:message-id; bh=3XoBJXbOdvqqw9q6JlzdV6sPkMXP3U/powv+ddwUj+k=; b=owEBbQKS/ZANAwAKAWwc0Sh9sBEAAcsmYgBp8hhKNoBAyvy++wvYRehUnn8ur4R7/WkJlZC1+ JHD6VjKzeSJAjMEAAEKAB0WIQQgNfiUsAqjz3zN4bdsHNEofbARAAUCafIYSgAKCRBsHNEofbAR AMdzD/9A0rkmaO4am0rO8vPue1rCKO7o9YeOVAklg8YKeHvxx7d9+VkWHzolRtsQqv1gH/OeKhP 3HCdOVlHkSYw/WeVp7mgWkVyXPqlqYmnwV12MauMZyxU03+vq3gWJ0f9ZB5C14cd1SwuU1U86FC 6MjumhsVQeum5Fu//0AbBBQPJ/l4xCVN/EWqYwzrsR5eAFRzE6TNDMK6DW80ySjdJM0XuWCoTN6 p8OwMPQdHL+DgHR35VvB+U8A/+Iv92LIzX0Y2ZO6sgI7H2aK6Q9UVODOphVZKU0QXSVBr/nJpca KZOOgqDEuIElvZpRY2yUs251FVqQ99T6Bd1x3XtuYm8rz/V3F3AhXcSU+H692ZjNQRKc9MfXj9/ ugdCrF95YRJC5J9Ej2vX91ttbxMw3/AABpW+ILLrHoY1AYkG6f+jhdpZ21iMvsP0LUZEx2Qim0W 2OPtY8BKrZeV8qiT3/+vU7aoQxXA27YFd6aWhs7HIa+OjJJzE4tM0Tkt87GZaVLflhDD+fwSGfa EB87wNNW0VWx8ZGEuTvt9MPgp4KehxWAmVAEgxiFWNwX7qnnaDWpINiWXBQtpLWLssjyjREYRHJ vaexJpIFUCJoc0ie6LhHpnh1nRs03skGaI9ydyJs8us7c/DPgV49PHpr18nOsy0Jm9bgaIXA/81 6JjzzW3AvXe5DFA== X-Developer-Key: i=imp@bsdimp.com; a=openpgp; fpr=2035F894B00AA3CF7CCDE1B76C1CD1287DB01100 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: none client-ip=2607:f8b0:4864:20::332; envelope-from=imp@bsdimp.com; helo=mail-ot1-x332.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @bsdimp-com.20251104.gappssmtp.com) X-ZM-MESSAGEID: 1777473759335154100 Generate the syscall numbers from the installed header that has them. Ideally, we'd use FreeBSD's lua infra for this, but that requires that we have those files installed, and they aren't quite the same across supported versions yet, so use this simple, but effective hack. Add to meson build, but unused. Reviewed-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Warner Losh Reviewed-by: Pierrick Bouvier --- bsd-user/freebsd/meson.build | 11 ++++++++++- bsd-user/freebsd/scripts/syscallhdr.sh | 9 +++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/bsd-user/freebsd/meson.build b/bsd-user/freebsd/meson.build index 8fd6c7cfb8..fd55d84d3b 100644 --- a/bsd-user/freebsd/meson.build +++ b/bsd-user/freebsd/meson.build @@ -1,6 +1,15 @@ +bsd_syscall_nr =3D custom_target('bsd-syscall-h', + output: '@BASENAME@_nr.h', + input: ['/usr/include/sys/syscall.h'], + command: [sh, meson.current_source_dir() / 'scripts/syscallhdr.sh', '@= INPUT@', '@OUTPUT@', 'FREEBSD']) + bsd_user_ss.add(files( 'os-stat.c', 'os-proc.c', 'os-sys.c', 'os-syscall.c', -)) + 'os-thread.c', + 'os-time.c', + 'trace.c'), + bsd_syscall_nr +) diff --git a/bsd-user/freebsd/scripts/syscallhdr.sh b/bsd-user/freebsd/scri= pts/syscallhdr.sh new file mode 100644 index 0000000000..fa38500775 --- /dev/null +++ b/bsd-user/freebsd/scripts/syscallhdr.sh @@ -0,0 +1,9 @@ +#!/bin/sh +# Copyright (c) 2026 Warner Losh +# SPDX-License-Identifier: GPL-2.0-or-later + +in=3D"$1" +out=3D"$2" +bsd=3D"$3" + +awk -v bsd=3D"$3" '{sub("SYS_", "TARGET_" bsd "_NR_", $0); print;}' < $in = > $out --=20 2.52.0 From nobody Thu Apr 30 01:48:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1777473770; cv=none; d=zohomail.com; s=zohoarc; b=Wl0je+hs7wCAcMIS4ia16inVR9UYZYAF+Imztrk5qbU/MdSCQLr+ioS4kIObHFWlhtdq+20iMlbO2P1Rr/+nFZgv3JDoxvUiMiXeXDmU1sTdhYw3emjsoVyHRvz81qu1oxuQTVLdox9CU036XnOHQAcYqz87UyUMrp4V2iFptyk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1777473770; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=hqQRX7NHmcnoVCdQPhuAPV3niYT3oKUD0fxHi+zdto0=; b=NjUFPDXq5qnXJeRwriEd9pc5gheDHUfhkR0J1iBSNGWt6YsN1UXzdJRlxKvLRyGyaG8ilGjx/7+QWpuPgdHScdQ5/1Hv8uLR1j1tZYiPtBlAnVIYIJ9cKuEz4ZZUtvcWJlY1wkYdSEvPyt/utSeLmmP5BuVwb3eMqb5cYSINDAY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1777473770679742.4648894957857; Wed, 29 Apr 2026 07:42:50 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wI66t-00018F-2N; Wed, 29 Apr 2026 10:41:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wI66o-00016e-GZ for qemu-devel@nongnu.org; Wed, 29 Apr 2026 10:41:50 -0400 Received: from mail-ot1-x335.google.com ([2607:f8b0:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1wI66k-00039U-El for qemu-devel@nongnu.org; Wed, 29 Apr 2026 10:41:48 -0400 Received: by mail-ot1-x335.google.com with SMTP id 46e09a7af769-7de4e6c5a30so4880051a34.0 for ; Wed, 29 Apr 2026 07:41:45 -0700 (PDT) Received: from rebo.bsdimp.com ([50.253.99.174]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7deab9d6067sm1553377a34.22.2026.04.29.07.41.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Apr 2026 07:41:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20251104.gappssmtp.com; s=20251104; t=1777473705; x=1778078505; darn=nongnu.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=hqQRX7NHmcnoVCdQPhuAPV3niYT3oKUD0fxHi+zdto0=; b=vk1NJyzYfPNU+Y4m2bk7Nr4KVYzWFW7PLedUsyQhabYUCquEwKv9ro+XmiTBBkLpv0 D8yBRjJhIKo8gvmsEtd5wpqte7vX6Xruf8rPba94tvFE+QiW/DCZarNudtCle7OYSUMD AC1G1XubCla4JpUD7rStNA0f/vZ4RN1pZZH6l+qZibDmWvR7glx5VUFBqXAY7JEAdO/m L0BuXDJ7HD0frR/Xi78zlYAHIrLVdTQf6Vaxjh7ntkFYnM0wIAgqXBEJJGj26cKzVfmb jq6E8kLvYJ0/Ne47eiNXc3Z4zQHhHgF7l35WU/jX6g4jdJ42k2sWuZfRW34eSF545jLn SMqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777473705; x=1778078505; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=hqQRX7NHmcnoVCdQPhuAPV3niYT3oKUD0fxHi+zdto0=; b=Wio+YawoFtXqi70RCirAnspVxRIT4y+azMkxwLbvl8WciEZiteCTRG6lREMwmp4Q2w 8wbTcwjyAMP02lOo0rt+CCYl9VYwUVjTVYWiBl22z5Pao+nZtSTv9gl6bJbTNasFBF6t 6oLMNVlJNFzQJ2Dt26KPci2DcM1vIqQ+PdzTJObwXa6LaM8gVOtZnU+FTyTg9AFJKwNG 9mZrzLHD5qjN9GpqSKkYaqiAyaGfa9/9rDuy92mS9jkNfOinfRPZxU56Xt/zTwNQoibB ZJKV4uOffFqdKKftSmOijtWUFkAztlJw9IgGwL7kUr6aLn5912CJe8x6Ulr32UBs6zke ffhg== X-Gm-Message-State: AOJu0YzQeeNbTLTz19bYv09pKHrk5fPAbZfGjrHGUv52qZcWRjmwzX0H 6q4pjsUdc4hgS7D2axwkIEfu2TCeFqaK1VrixkilVdIPFc399RE+UpTmhhZZPnRF4B0= X-Gm-Gg: AeBDiesUqNmTQdO1ESdUupR/WtNG+lVyLOCUb/KEqFCE8+eraLYcxz6zCTZ7x7Zs3Z7 +G9V2mM9LF9EMETkshi8g6lEXt1PdhGUv7uhaQwu7vZPfO3+/l9qBYBgiLIuA0Vmo4Zl0xTaGfe za8e4s1qkispok+tQrLvapPdLZdvLoAC2G+SMwJ9FzulxJzZGYcRvQwuXmzKZJcBCjQkNqIXoKg sGUGz/40CKKANRwut+fwDrN/sQwtoDIplwPFtLh2l/zIieFyu8VxElK1I4ik/NukLlRdwkThLEY isDZAr8IH7JdU4zSpfeTyMD/sCVe6tTPDa87aCkIUVVdAWqNBXAKNCqf5vWZgwXP1YaJr3+RFOH eXcWZaMokBEYJKoqlamnJ+692TFZLcAX/EWwuPW+RHvktcD9iHN98AqWxGuyeoWha1vpZoJLWiM ekmGFXY3EeVRpgwFyiB7yGXhYqMGI21JE= X-Received: by 2002:a05:6830:2403:b0:7dc:cefa:1c20 with SMTP id 46e09a7af769-7dea6227849mr2598206a34.0.1777473705012; Wed, 29 Apr 2026 07:41:45 -0700 (PDT) From: Warner Losh Date: Wed, 29 Apr 2026 08:38:52 -0600 Subject: [PATCH v2 2/5] bsd-user: Delete sbrk and sstk system calls. MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260429-syscall-nr-v2-2-67a8d09dc13e@bsdimp.com> References: <20260429-syscall-nr-v2-0-67a8d09dc13e@bsdimp.com> In-Reply-To: <20260429-syscall-nr-v2-0-67a8d09dc13e@bsdimp.com> To: qemu-devel@nongnu.org Cc: Kyle Evans , Paolo Bonzini , =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Pierrick Bouvier , Warner Losh X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=3036; i=imp@bsdimp.com; h=from:subject:message-id; bh=VY6OYhFAhZDkOU4DGGiY5jBP+cq1LdQq+JnMt+rf9iE=; b=owEBbQKS/ZANAwAKAWwc0Sh9sBEAAcsmYgBp8hhK078qSmBVhNNjI8kLdDmL0AzwHTsFcHvx5 UUx32osqOSJAjMEAAEKAB0WIQQgNfiUsAqjz3zN4bdsHNEofbARAAUCafIYSgAKCRBsHNEofbAR AENvD/0eg9twLvHqXO1sxegQYERi5eoo28ED4ZVT5JByGk+QAFZwyFdZa4xy2InuSlEkPJEt8RK U8ec09yLZPTKya4zUscU/JWLQakil8ZmG7Fv9U+m8/Ah1yUbGcUKELd8ime1x0FHzCNbNvSvfUV E8XYR2yzAyF02xQvVNTj1GU084YsselVv/oQCBJebw0R1zGvUTJjbU2RQhi7bBF5BJxMzGQ5aMd JoCRWW1SmL/+EY/yETHVWipBdVA2WhSvvEG61GRPc5z2C951laMLOpBBqjioJJXSZKOf1xvxXGm g/ucIWhrBQwAMU/tDZfWKYt+wZ9P+L2YV4XO1p5nJgj5kKHrsw1byzL5KhlhmdbOyDuLz5QRlq/ ccayuj3Ng8p4L+M5CIyTnE35fxsMpT4Ww0zIqjJLNoUXlcDZkYUna3kp1etQOedE/SprkLg1zEO OZrPFgsAV9Wo++R9iKzYPiHwoi3tgK479L6ff4z8/HFb1hZiRzjvnUym17di4bp6LcLhUPk6aAm IcUIuRgqx1a3uR9dEeasze3/AbCByp7XFZ8HtCg8mXjibgrpG4N85CDkNOlTibg22Tiy4GDrkHF vcmZRhMrp9+mjTgGt4EUsvL50OniVWusOSm8lhH11e/4unL5xAdf1tO0QL8CwtQ/meZtGuWrIzV VZFWLs7EZvzJpHw== X-Developer-Key: i=imp@bsdimp.com; a=openpgp; fpr=2035F894B00AA3CF7CCDE1B76C1CD1287DB01100 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: none client-ip=2607:f8b0:4864:20::335; envelope-from=imp@bsdimp.com; helo=mail-ot1-x335.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @bsdimp-com.20251104.gappssmtp.com) X-ZM-MESSAGEID: 1777473773173158502 sbrk and sstk were an experimental system call introduced in 4.2BSD, but with an blank implementation. They remained in subsequent 4BSD releases doing nothing (with 4.3-Reno and later returning not supported). FreeBSD 1.x imported this. They were removed in 2023. Remove them from here because no real, non-contrived program on FreeBSD ever had them. Signed-off-by: Warner Losh Reviewed-by: Pierrick Bouvier --- bsd-user/bsd-mem.h | 2 ++ bsd-user/freebsd/os-syscall.c | 8 -------- bsd-user/freebsd/strace.list | 4 ++++ 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/bsd-user/bsd-mem.h b/bsd-user/bsd-mem.h index a118e57260..a20b703053 100644 --- a/bsd-user/bsd-mem.h +++ b/bsd-user/bsd-mem.h @@ -440,6 +440,7 @@ static inline abi_long do_bsd_vadvise(void) return -TARGET_EINVAL; } =20 +#ifdef TARGET_FREEBSD_NR_sbrk static inline abi_long do_bsd_sbrk(void) { /* see sys_sbrk() in vm_mmap.c */ @@ -451,5 +452,6 @@ static inline abi_long do_bsd_sstk(void) /* see sys_sstk() in vm_mmap.c */ return -TARGET_EOPNOTSUPP; } +#endif =20 #endif /* BSD_USER_BSD_MEM_H */ diff --git a/bsd-user/freebsd/os-syscall.c b/bsd-user/freebsd/os-syscall.c index 85e5db19a3..ca819fc530 100644 --- a/bsd-user/freebsd/os-syscall.c +++ b/bsd-user/freebsd/os-syscall.c @@ -918,14 +918,6 @@ static abi_long freebsd_syscall(void *cpu_env, int num= , abi_long arg1, ret =3D do_bsd_vadvise(); break; =20 - case TARGET_FREEBSD_NR_sbrk: - ret =3D do_bsd_sbrk(); - break; - - case TARGET_FREEBSD_NR_sstk: - ret =3D do_bsd_sstk(); - break; - /* * Misc */ diff --git a/bsd-user/freebsd/strace.list b/bsd-user/freebsd/strace.list index 275d2dbe27..d7f61f480e 100644 --- a/bsd-user/freebsd/strace.list +++ b/bsd-user/freebsd/strace.list @@ -194,7 +194,9 @@ { TARGET_FREEBSD_NR_rfork, "rfork", NULL, NULL, NULL }, { TARGET_FREEBSD_NR_rmdir, "rmdir", NULL, NULL, NULL }, { TARGET_FREEBSD_NR_rtprio_thread, "rtprio_thread", "%s(%d, %d, %p)", NULL= , NULL }, +#ifdef TARGET_FREEBSD_NR_sbrk { TARGET_FREEBSD_NR_sbrk, "sbrk", NULL, NULL, NULL }, +#endif { TARGET_FREEBSD_NR_sched_get_priority_max, "sched_get_priority_max", NULL= , NULL, NULL }, { TARGET_FREEBSD_NR_sched_get_priority_min, "sched_get_priority_min", NULL= , NULL, NULL }, { TARGET_FREEBSD_NR_sched_yield, "sched_yield", NULL, NULL, NULL }, @@ -234,7 +236,9 @@ { TARGET_FREEBSD_NR_sigsuspend, "sigsuspend", NULL, NULL, NULL }, { TARGET_FREEBSD_NR_socket, "socket", "%s(%d,%d,%d)", NULL, NULL }, { TARGET_FREEBSD_NR_socketpair, "socketpair", NULL, NULL, NULL }, +#ifdef TARGET_FREEBSD_NR_sstk { TARGET_FREEBSD_NR_sstk, "sstk", NULL, NULL, NULL }, +#endif { TARGET_FREEBSD_NR_freebsd11_stat, "freebsd11_stat", "%s(\"%s\",%p)", NUL= L, NULL }, { TARGET_FREEBSD_NR_freebsd11_statfs, "freebsd11_statfs", "%s(\"%s\",%p)",= NULL, NULL }, { TARGET_FREEBSD_NR_symlink, "symlink", "%s(\"%s\",\"%s\")", NULL, NULL }, --=20 2.52.0 From nobody Thu Apr 30 01:48:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1777473757; cv=none; d=zohomail.com; s=zohoarc; b=K4x7jByz97nhlcaUIGtSsLCvE+xjLRNAiXAqTGzqKKqkcBMDZ7IhmOEIKUhbuMQGNtlG9y4kATec4DOE1X1HRRnnyCnBVQfU5n4P6lT3iPjSe6nevrK+ijzcpI25/YndZWEg9/4dXuUQDs4NLE0BYlZoJXIP/zkIn4mpe5pibp0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1777473757; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=GM+VfAUDmtSj8y4orryZtYG1iLpOEqhbXeQi5rkOvMM=; b=inYcBI8yNB+SZG+W+e/rYg7AtOIczMbtBkC3V1rtV+tSZ9LQehC5ezMWGykpEleRp+xmX9A8UeCgltJFfzbHz3MaZB5rwAJoUrcMYvkiekMyofQBtbWglgzLPUBoNJja33pz4b5A2329lqqjFmfae1TGQ20FLfpJtFUEgRu9b1M= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1777473757750783.8107741311918; Wed, 29 Apr 2026 07:42:37 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wI66t-00018b-WE; Wed, 29 Apr 2026 10:41:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wI66p-00016g-Js for qemu-devel@nongnu.org; Wed, 29 Apr 2026 10:41:52 -0400 Received: from mail-oi1-x231.google.com ([2607:f8b0:4864:20::231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1wI66m-00039m-Mo for qemu-devel@nongnu.org; Wed, 29 Apr 2026 10:41:51 -0400 Received: by mail-oi1-x231.google.com with SMTP id 5614622812f47-479d593a0c3so812672b6e.0 for ; Wed, 29 Apr 2026 07:41:46 -0700 (PDT) Received: from rebo.bsdimp.com ([50.253.99.174]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7deab9d6067sm1553377a34.22.2026.04.29.07.41.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Apr 2026 07:41:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20251104.gappssmtp.com; s=20251104; t=1777473706; x=1778078506; darn=nongnu.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=GM+VfAUDmtSj8y4orryZtYG1iLpOEqhbXeQi5rkOvMM=; b=NFsjNeTh/42QzD31Jc0SCnJa9pVM7EZ2DuIWJ0OtsgTGsHwlKnJaa3m4KeQC9Ysb2u 2mTt7NTGB9lRLHP2kZB3wnDEmh4C6KI0MCaAHgBdBLVew/bmEiUWT430zBwwTpWchfBA hbGvanC3MUyR17NeqMqvERZl9I9wj2oA9RiphaN4kdavA66QH0YXs6/ijD1CS1AOe3oH 063I7enNpEQpvDyljprHYsGx1UoD5lQOFQNWscirYFS8oGxzoRQPTAtwZf7PLymNy7s0 xoiHAEbq5HPJc5d9B3mMLQChEqJ+h7B3uaF6HGFvkLWqyLeaiCWA9xBIJqt2eJIVjYPp nAyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777473706; x=1778078506; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=GM+VfAUDmtSj8y4orryZtYG1iLpOEqhbXeQi5rkOvMM=; b=qtSXIUOLwSzL992SAPlUL6IsdM/0LW0SOB3B3uDXlo7iY1X3Bc1R3DriHS7vNV1dmv MZMArfiRWdm3aZ+eTnrP5qTdAKL18gnOzqZZBQ5meMdSGFsYpSvkV3UsizdESRwTN5rq 3Lz7mGLW9cH0kegBiGkXwCE/uBks1A/B9l4ooclf+fDPcccx+fkIBvkoFeZcFersK6F7 tDSz7FVpq3dWGoZZi69Gx0z+TkFnaw2ityYLgJ5C/3TE4WcjXZs3DJmJrIWjTvRqxubI MC4LqfgwwXo9Suf+vWr7rk9v2ZLlHPpAhC+jqbpafklPnGucR7KY+Tx1nuRr0sbD55so BD0g== X-Gm-Message-State: AOJu0YzOohScekw7sAgjcN1t7YEb8skWlgm/VyP8EyKCQwSK5Pf2GShO h+YvX3oGq2yj6K+mEWaP4lluUf09HGepwBKpkmnQ4GZSprgg1FLQGu521s3BSIfA3pk= X-Gm-Gg: AeBDietqjehRabePlnFGNods4QNxNTpqYH0oCeK9OuN0L13aFL7g5F+VyUFC6AxL1Lu cbEaX3BOQV3DfBy+6GBn8TDdMfXTx8eS+8Y0odb2ADWAe8ExU6ScPqOOZ2/KJWnlx73YeulivY2 qxUfoRsDxKarI80aEmMZNM8EVkw7LGfeDCS38UD4RNdsPECLn+eSAjW6FIdijHIlYyIvxWWjumW N9JS1UpuSwJZDPE2uIebqkZPIssSsNMqTrjYnW5xujptQLU6XPTQQAd3CbnVOxKnucGi0zZ1nN/ 5vuZscyYsqpbuk+TxABoO+z2Was0GDql9GxubzAPyUlzzEfTBOqpYux5C113gsLpw9u3AuwZzFi wzq7gHYzruMv67QMNfPDfR0Wb+hZYN1UHipYPq9rSSi6D2p7DZpz5jDeqRD19nl6dFV8j37ABNc MDqj7SFYJzCwCryyv6Vc+l X-Received: by 2002:a05:6808:159b:b0:47b:c703:4236 with SMTP id 5614622812f47-47c3fb58d44mr1535918b6e.10.1777473705953; Wed, 29 Apr 2026 07:41:45 -0700 (PDT) From: Warner Losh Date: Wed, 29 Apr 2026 08:38:53 -0600 Subject: [PATCH v2 3/5] bsd-user: Create os-syscall.h MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260429-syscall-nr-v2-3-67a8d09dc13e@bsdimp.com> References: <20260429-syscall-nr-v2-0-67a8d09dc13e@bsdimp.com> In-Reply-To: <20260429-syscall-nr-v2-0-67a8d09dc13e@bsdimp.com> To: qemu-devel@nongnu.org Cc: Kyle Evans , Paolo Bonzini , =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Pierrick Bouvier , Warner Losh X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=1077; i=imp@bsdimp.com; h=from:subject:message-id; bh=XrvB42cdUbjGT/6e9K7hXwzF5dDYegII6Ryw8dKYaiU=; b=owEBbQKS/ZANAwAKAWwc0Sh9sBEAAcsmYgBp8hhKbl5pc9Nro8fcrOU49zTPhL1gFg20Znmsd JpfOsNgInSJAjMEAAEKAB0WIQQgNfiUsAqjz3zN4bdsHNEofbARAAUCafIYSgAKCRBsHNEofbAR AKHRD/0dpJc4m3eZheRhVDQBECxpcHooC2zgZeUr75lQV1xvYsuk0G5u6FTZnj+a3A68qWV71pK +qUjzjDBLIVbIjZC6SL39Hp9kPhC90aqCTsnxVpYCrEuS5fVWZeFR8oR0X8qmIaidkLfCgnjW3G txRYPz7joMXUEnx3BGoVgJt9OJM9LAv2ZVChVu1mq5fPfab2fQ7AHW1ZMQq06Z6bkNEPM+r9bAg viClRKR8hTKHQ7LwMupqPnX9XNvClBfPQNJoXTtxRDrfhwpPoNaQcFPoM/yIPsIDeHVBkace4Gj 2MYqAnAGyQU3HToV7v1JOs05BHbfIrvfsNl37BHiQfyqeOQBVGmIGxCVUIDbJjkhkCh5pVsPWri qvWK+1D9KyptQt3Urnb6uJSP5hHwRxisn0DxUmezcGEBdoEjAjtgwfwHNERLTYyUnZInz9t4Wrq 3YlUFH6fwUwVMz2M1VgtZfXD0LvrBWuTAZY64i/igy8/GdM++rosW2CpGN7gw1BXQjITvriMWDr 7OchdWCqsgUB5Ks4ZAvSD7BuUJ5C1CwyLyk3ZTIdpYsRUva5AFmTEd7GMs33s8lo/xGKtm8cBl/ RuXLPC3y8Wgso1XPwxdw7w9f9WngwO5EP6gLMFIy7CVFFhutI4hhGyoJ1y3wkDGPhpNml6KfgxA gejTlV9f0JClp/Q== X-Developer-Key: i=imp@bsdimp.com; a=openpgp; fpr=2035F894B00AA3CF7CCDE1B76C1CD1287DB01100 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: none client-ip=2607:f8b0:4864:20::231; envelope-from=imp@bsdimp.com; helo=mail-oi1-x231.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @bsdimp-com.20251104.gappssmtp.com) X-ZM-MESSAGEID: 1777473759351158500 Create os-syscall.h. The purpose of this file is to define anything that's different among the BSDs, like system call numbers and time_t. While there's a lot more different between the BSDs, this is at least a start at capturing it. Signed-off-by: Warner Losh Reviewed-by: Pierrick Bouvier --- bsd-user/freebsd/os-syscall.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/bsd-user/freebsd/os-syscall.h b/bsd-user/freebsd/os-syscall.h new file mode 100644 index 0000000000..962adfa91a --- /dev/null +++ b/bsd-user/freebsd/os-syscall.h @@ -0,0 +1,21 @@ +/* + * Copyright (c) 2023 Warner Losh + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * OS-Specific portion of syscall_defs.h + */ + +#include "syscall_nr.h" + +/* + * FreeBSD uses a 64bits time_t except on i386 so we have to add a special= case + * here. + */ +#if defined(TARGET_I386) && !defined(TARGET_X86_64) +typedef int32_t target_time_t; +#else +typedef int64_t target_time_t; +#endif + +typedef abi_long target_suseconds_t; --=20 2.52.0 From nobody Thu Apr 30 01:48:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1777473785; cv=none; d=zohomail.com; s=zohoarc; b=FZ7fqtucHwLShscIVKxQD+doSone4WMwS9YznenxnC7uQA+xcG3DVNe1LdJvA/5lRil5IUo8HFjMbCT3PluR86sSBX0VJzp2fJMbnOoOh2vh2amsstlA72ZGcR7ImeX3DRlcvk/tz/7uJA+L0N5yJwZceTBDEKAEsKY3E6UTXKc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1777473785; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=0uQmWEvli3jR1BBImI39hfECjelvyoZ3y4nVls2Vhpg=; b=MKA8D0NK3YLifpoGfkILbxJ3m0Y4z8nnU2sk0VGpM1AhcmWIh0W3zsXHcjpdCgB/BvJ3si+k9PR/7r1cixr2xkMkse4XlPpQ67jd8cnzLTa9lFyojdWICbWvE+u4wXfaFE6loV1jwwOuKF2UM4jo8WEywA+DLabH5LMeu/PY0EU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1777473785352368.8408374223569; Wed, 29 Apr 2026 07:43:05 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wI66y-00019K-Km; Wed, 29 Apr 2026 10:42:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wI66r-000183-7O for qemu-devel@nongnu.org; Wed, 29 Apr 2026 10:41:53 -0400 Received: from mail-ot1-x330.google.com ([2607:f8b0:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1wI66o-0003A8-90 for qemu-devel@nongnu.org; Wed, 29 Apr 2026 10:41:52 -0400 Received: by mail-ot1-x330.google.com with SMTP id 46e09a7af769-7de4e6c5a30so4880081a34.0 for ; Wed, 29 Apr 2026 07:41:48 -0700 (PDT) Received: from rebo.bsdimp.com ([50.253.99.174]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7deab9d6067sm1553377a34.22.2026.04.29.07.41.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Apr 2026 07:41:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20251104.gappssmtp.com; s=20251104; t=1777473707; x=1778078507; darn=nongnu.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=0uQmWEvli3jR1BBImI39hfECjelvyoZ3y4nVls2Vhpg=; b=CxIfGPhOmsoIa2V0G1cJFDp8LvbsXqh95KtfeytkEUzcGh4qLlWFtD6+sXVANR/VOk fdE1gE4OyaFNSlQeK3rumi2H9KgvKB9wlIqTZGb3k9ATYKxbyIM3hVLzXbwC8WTmHNFS ZamVqIVBbrcK6agN1rC+3y1BY6FPzmwCXr7RTE7IzJGuzlhAc7rb7+JfySHCJoJCOI/a LODyNU7NId29McdkHHpaDa68ga1LVFimrLQxdmZS0R2gxnfgmInUS8rqQlGOLfTWIsWT 3/U5wIKLibedqUuL3g3jcGo6aB9YzZacH3VE89GWppc63SGHrEmv65s7A2jgO9oqWxTJ dnlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777473707; x=1778078507; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=0uQmWEvli3jR1BBImI39hfECjelvyoZ3y4nVls2Vhpg=; b=SJlihTTOz6ATzAzHg8tuNP+zZtIbupKKVS/9MCm3j/LjEW5uXP8e3E0oO+DkuBW8wC FpPMAhSyIvH6kx2gZtObHs7pXTs2BdTWPoQkv3FcXecAEaJL5qKUBKjal2k6Vx5viKS+ x9boNjxIt9+JCWD6hG1GByjsyxpUaLpbvfEc++DbYR40WfnP9hFDZyHxP4lBD/QE34yT U1kUDjXxOtVOlu1yW1bBrCChxM1MXzXahGAhBiQK/1yeptvcKr1VFNRKvVrlObZG1fKb hPHyQCnmEUSaAH7r5HKbQVzesXRE+K6MChDHwDE+vQniU+6KYsfXIkaI5h/qtZpPseCB EhmA== X-Gm-Message-State: AOJu0YwJtQ9elppSfnPJjmI4uz+x5/uCjL5NqL2jBSuxyQbom+bmyVND 6MjSOXzsdpSySRMNuUy9W+oEkcJN/zl5br81OyVWsg1qHT6nOdcmHJveZj2KouuNq8s= X-Gm-Gg: AeBDies/r84EEjZPcQeaYVPftIc/MpdaA2pEqykAhu2S46mMvo3TjJuBIBn/WMG3tx7 bYkAPYx0RcFG2eG1lsDoktcFn45Dguvqfx55ZGvmkEyyNXA9Uj/I436/VCaHt+PGrHcrH26eyl8 cF6goQ1dm4m5GftgJW5Gf5KtPysgH4G+RJRElpsT16vt5sCoB2RVkNO0/nPQXSL4+e6Sb4oLvwq 0dGyBZ2bM5mx/it0NnlP0mlZSqIjCHmAg4U/qUVprdZs8gdr5ncf3AWPFcPmw83DPnsBodjQgVf vTzyyxiAdnTwfYBz+4hSE3kqzjj/fuwVOJz+cD4Pbk/kX8o/KOIrdU2STf+n7WpEEPwfH/BdO2J G6jcU37H5ZYvvvF8V3VnO1PN1y3BKP2zvDxUunDrShv72nTv8iKLWXdQnZzn9p7s9h7PE7B8V70 gywaD+gAzDnPkWYSYfw2Y5 X-Received: by 2002:a05:6830:264c:b0:7dc:e45a:adda with SMTP id 46e09a7af769-7dea679a2ddmr2702338a34.19.1777473707075; Wed, 29 Apr 2026 07:41:47 -0700 (PDT) From: Warner Losh Date: Wed, 29 Apr 2026 08:38:54 -0600 Subject: [PATCH v2 4/5] bsd-user: Switch to generated syscall_nr.h MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260429-syscall-nr-v2-4-67a8d09dc13e@bsdimp.com> References: <20260429-syscall-nr-v2-0-67a8d09dc13e@bsdimp.com> In-Reply-To: <20260429-syscall-nr-v2-0-67a8d09dc13e@bsdimp.com> To: qemu-devel@nongnu.org Cc: Kyle Evans , Paolo Bonzini , =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Pierrick Bouvier , Warner Losh X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=27190; i=imp@bsdimp.com; h=from:subject:message-id; bh=tnNJZRJcZ2aCmaykLh+cQ7PzQ8MlLfYbvFoybCubHQ8=; b=owEBbQKS/ZANAwAKAWwc0Sh9sBEAAcsmYgBp8hhLcYb2a7noEQ1KG3K8uaZgDQEplM2NcMcIk jFFeFTjjVyJAjMEAAEKAB0WIQQgNfiUsAqjz3zN4bdsHNEofbARAAUCafIYSwAKCRBsHNEofbAR AK5YEACT+ttDYzuBArWDa8py1uZIDmtBR/9WAVu/3Xp3+iuEduXvNQ4FFd3B1nUgZQebrIBh+jt FSUiX+Oc/A5590kcH1EgsWHnG8v9QrlNEayCk9tdjKuMM3LPO66g34h3bWzp6Hr3/HYSto7JIiW zQ+I4y7VNRYn7oe14Ca18FznDR0420qrw9mNMJXadoWbbRBsNx8D15jwmBgziajGcpoEtk9vDmR wUFRx0QpAjB8s865dp2RtzId9UhHf84oAc+htsGjvwIAJEXiCsSHUJ4d84BVYCh7R1niaslOGpz dOJfYhAlKa006wSdGxC5Zrfn9p6rvnd1Sub5BoI5iyCsia7sH10eQvM0q/j+9KrVgK+Rbn2aV5t OKih/CvqE9b1KN0hvNxnwTePNAPXWdfJmHazRIjXnRKWO9C8TLxkanbWLJwHutbKXBv7ZskPnxu PkIexVbzGzGugNJtcsoORpdknwwuQ8jmkIysjvQ+ZnMcDsWsRE1lT2AbA3HJZkD3TDNb6bgRWuG gWo6611/gqxBRHdcKr9KZbVBg8XbiizBXCIvF5KH74ErVauN0ak86ES7u0C6CWs45VujnuA5SDC FiK3hTnFvMyfsjEgFyEILOUWzaTqPHpHwzD83kbRFuo8SWyqcp1MHlzVy3s94qmBU//kMTODgtt WluLZsWAv8sKSZw== X-Developer-Key: i=imp@bsdimp.com; a=openpgp; fpr=2035F894B00AA3CF7CCDE1B76C1CD1287DB01100 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: none client-ip=2607:f8b0:4864:20::330; envelope-from=imp@bsdimp.com; helo=mail-ot1-x330.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @bsdimp-com.20251104.gappssmtp.com) X-ZM-MESSAGEID: 1777473787147154100 Now that this will build and work, remove the old syscall_nr.h and switch the include over to the generated file in syscall_defs.h. To do this, I had to delete the old, wrong definition of time_t for FreeBSD on amd64 since it stumbled over the fact that TARGET_i386 is defined for both 32-bit and 64-bit builds (the new os-syscall.h had the rigth definition). Rather than modify this file twice to fix it, rolled the fix into using os-syscall.h since it's still easy enough to review. Signed-off-by: Warner Losh Reviewed-by: Pierrick Bouvier --- bsd-user/freebsd/syscall_nr.h | 515 --------------------------------------= ---- bsd-user/syscall_defs.h | 18 +- 2 files changed, 1 insertion(+), 532 deletions(-) diff --git a/bsd-user/freebsd/syscall_nr.h b/bsd-user/freebsd/syscall_nr.h deleted file mode 100644 index 7f73a6d0f1..0000000000 --- a/bsd-user/freebsd/syscall_nr.h +++ /dev/null @@ -1,515 +0,0 @@ -/* - * System call numbers. - * - * DO NOT EDIT-- this file is automatically @generated. - * $FreeBSD$ - */ - -#define TARGET_FREEBSD_NR_syscall 0 -#define TARGET_FREEBSD_NR_exit 1 -#define TARGET_FREEBSD_NR_fork 2 -#define TARGET_FREEBSD_NR_read 3 -#define TARGET_FREEBSD_NR_write 4 -#define TARGET_FREEBSD_NR_open 5 -#define TARGET_FREEBSD_NR_close 6 -#define TARGET_FREEBSD_NR_wait4 7 - /* 8 is old creat */ -#define TARGET_FREEBSD_NR_link 9 -#define TARGET_FREEBSD_NR_unlink 10 - /* 11 is obsolete execv */ -#define TARGET_FREEBSD_NR_chdir 12 -#define TARGET_FREEBSD_NR_fchdir 13 -#define TARGET_FREEBSD_NR_freebsd11_mknod 14 -#define TARGET_FREEBSD_NR_chmod 15 -#define TARGET_FREEBSD_NR_chown 16 -#define TARGET_FREEBSD_NR_break 17 - /* 18 is freebsd4 getfsstat */ - /* 19 is old lseek */ -#define TARGET_FREEBSD_NR_getpid 20 -#define TARGET_FREEBSD_NR_mount 21 -#define TARGET_FREEBSD_NR_unmount 22 -#define TARGET_FREEBSD_NR_setuid 23 -#define TARGET_FREEBSD_NR_getuid 24 -#define TARGET_FREEBSD_NR_geteuid 25 -#define TARGET_FREEBSD_NR_ptrace 26 -#define TARGET_FREEBSD_NR_recvmsg 27 -#define TARGET_FREEBSD_NR_sendmsg 28 -#define TARGET_FREEBSD_NR_recvfrom 29 -#define TARGET_FREEBSD_NR_accept 30 -#define TARGET_FREEBSD_NR_getpeername 31 -#define TARGET_FREEBSD_NR_getsockname 32 -#define TARGET_FREEBSD_NR_access 33 -#define TARGET_FREEBSD_NR_chflags 34 -#define TARGET_FREEBSD_NR_fchflags 35 -#define TARGET_FREEBSD_NR_sync 36 -#define TARGET_FREEBSD_NR_kill 37 - /* 38 is old stat */ -#define TARGET_FREEBSD_NR_getppid 39 - /* 40 is old lstat */ -#define TARGET_FREEBSD_NR_dup 41 -#define TARGET_FREEBSD_NR_freebsd10_pipe 42 -#define TARGET_FREEBSD_NR_getegid 43 -#define TARGET_FREEBSD_NR_profil 44 -#define TARGET_FREEBSD_NR_ktrace 45 - /* 46 is old sigaction */ -#define TARGET_FREEBSD_NR_getgid 47 - /* 48 is old sigprocmask */ -#define TARGET_FREEBSD_NR_getlogin 49 -#define TARGET_FREEBSD_NR_setlogin 50 -#define TARGET_FREEBSD_NR_acct 51 - /* 52 is old sigpending */ -#define TARGET_FREEBSD_NR_sigaltstack 53 -#define TARGET_FREEBSD_NR_ioctl 54 -#define TARGET_FREEBSD_NR_reboot 55 -#define TARGET_FREEBSD_NR_revoke 56 -#define TARGET_FREEBSD_NR_symlink 57 -#define TARGET_FREEBSD_NR_readlink 58 -#define TARGET_FREEBSD_NR_execve 59 -#define TARGET_FREEBSD_NR_umask 60 -#define TARGET_FREEBSD_NR_chroot 61 - /* 62 is old fstat */ - /* 63 is old getkerninfo */ - /* 64 is old getpagesize */ -#define TARGET_FREEBSD_NR_msync 65 -#define TARGET_FREEBSD_NR_vfork 66 - /* 67 is obsolete vread */ - /* 68 is obsolete vwrite */ -#define TARGET_FREEBSD_NR_sbrk 69 -#define TARGET_FREEBSD_NR_sstk 70 - /* 71 is old mmap */ -#define TARGET_FREEBSD_NR_freebsd11_vadvise 72 -#define TARGET_FREEBSD_NR_munmap 73 -#define TARGET_FREEBSD_NR_mprotect 74 -#define TARGET_FREEBSD_NR_madvise 75 - /* 76 is obsolete vhangup */ - /* 77 is obsolete vlimit */ -#define TARGET_FREEBSD_NR_mincore 78 -#define TARGET_FREEBSD_NR_getgroups 79 -#define TARGET_FREEBSD_NR_setgroups 80 -#define TARGET_FREEBSD_NR_getpgrp 81 -#define TARGET_FREEBSD_NR_setpgid 82 -#define TARGET_FREEBSD_NR_setitimer 83 - /* 84 is old wait */ -#define TARGET_FREEBSD_NR_swapon 85 -#define TARGET_FREEBSD_NR_getitimer 86 - /* 87 is old gethostname */ - /* 88 is old sethostname */ -#define TARGET_FREEBSD_NR_getdtablesize 89 -#define TARGET_FREEBSD_NR_dup2 90 -#define TARGET_FREEBSD_NR_fcntl 92 -#define TARGET_FREEBSD_NR_select 93 -#define TARGET_FREEBSD_NR_fsync 95 -#define TARGET_FREEBSD_NR_setpriority 96 -#define TARGET_FREEBSD_NR_socket 97 -#define TARGET_FREEBSD_NR_connect 98 - /* 99 is old accept */ -#define TARGET_FREEBSD_NR_getpriority 100 - /* 101 is old send */ - /* 102 is old recv */ - /* 103 is old sigreturn */ -#define TARGET_FREEBSD_NR_bind 104 -#define TARGET_FREEBSD_NR_setsockopt 105 -#define TARGET_FREEBSD_NR_listen 106 - /* 107 is obsolete vtimes */ - /* 108 is old sigvec */ - /* 109 is old sigblock */ - /* 110 is old sigsetmask */ - /* 111 is old sigsuspend */ - /* 112 is old sigstack */ - /* 113 is old recvmsg */ - /* 114 is old sendmsg */ - /* 115 is obsolete vtrace */ -#define TARGET_FREEBSD_NR_gettimeofday 116 -#define TARGET_FREEBSD_NR_getrusage 117 -#define TARGET_FREEBSD_NR_getsockopt 118 -#define TARGET_FREEBSD_NR_readv 120 -#define TARGET_FREEBSD_NR_writev 121 -#define TARGET_FREEBSD_NR_settimeofday 122 -#define TARGET_FREEBSD_NR_fchown 123 -#define TARGET_FREEBSD_NR_fchmod 124 - /* 125 is old recvfrom */ -#define TARGET_FREEBSD_NR_setreuid 126 -#define TARGET_FREEBSD_NR_setregid 127 -#define TARGET_FREEBSD_NR_rename 128 - /* 129 is old truncate */ - /* 130 is old ftruncate */ -#define TARGET_FREEBSD_NR_flock 131 -#define TARGET_FREEBSD_NR_mkfifo 132 -#define TARGET_FREEBSD_NR_sendto 133 -#define TARGET_FREEBSD_NR_shutdown 134 -#define TARGET_FREEBSD_NR_socketpair 135 -#define TARGET_FREEBSD_NR_mkdir 136 -#define TARGET_FREEBSD_NR_rmdir 137 -#define TARGET_FREEBSD_NR_utimes 138 - /* 139 is obsolete 4.2 sigreturn */ -#define TARGET_FREEBSD_NR_adjtime 140 - /* 141 is old getpeername */ - /* 142 is old gethostid */ - /* 143 is old sethostid */ - /* 144 is old getrlimit */ - /* 145 is old setrlimit */ - /* 146 is old killpg */ -#define TARGET_FREEBSD_NR_setsid 147 -#define TARGET_FREEBSD_NR_quotactl 148 - /* 149 is old quota */ - /* 150 is old getsockname */ -#define TARGET_FREEBSD_NR_nlm_syscall 154 -#define TARGET_FREEBSD_NR_nfssvc 155 - /* 156 is old getdirentries */ - /* 157 is freebsd4 statfs */ - /* 158 is freebsd4 fstatfs */ -#define TARGET_FREEBSD_NR_lgetfh 160 -#define TARGET_FREEBSD_NR_getfh 161 - /* 162 is freebsd4 getdomainname */ - /* 163 is freebsd4 setdomainname */ - /* 164 is freebsd4 uname */ -#define TARGET_FREEBSD_NR_sysarch 165 -#define TARGET_FREEBSD_NR_rtprio 166 -#define TARGET_FREEBSD_NR_semsys 169 -#define TARGET_FREEBSD_NR_msgsys 170 -#define TARGET_FREEBSD_NR_shmsys 171 - /* 173 is freebsd6 pread */ - /* 174 is freebsd6 pwrite */ -#define TARGET_FREEBSD_NR_setfib 175 -#define TARGET_FREEBSD_NR_ntp_adjtime 176 -#define TARGET_FREEBSD_NR_setgid 181 -#define TARGET_FREEBSD_NR_setegid 182 -#define TARGET_FREEBSD_NR_seteuid 183 - /* 184 is obsolete lfs_bmapv */ - /* 185 is obsolete lfs_markv */ - /* 186 is obsolete lfs_segclean */ - /* 187 is obsolete lfs_segwait */ -#define TARGET_FREEBSD_NR_freebsd11_stat 188 -#define TARGET_FREEBSD_NR_freebsd11_fstat 189 -#define TARGET_FREEBSD_NR_freebsd11_lstat 190 -#define TARGET_FREEBSD_NR_pathconf 191 -#define TARGET_FREEBSD_NR_fpathconf 192 -#define TARGET_FREEBSD_NR_getrlimit 194 -#define TARGET_FREEBSD_NR_setrlimit 195 -#define TARGET_FREEBSD_NR_freebsd11_getdirentries 196 - /* 197 is freebsd6 mmap */ -#define TARGET_FREEBSD_NR___syscall 198 - /* 199 is freebsd6 lseek */ - /* 200 is freebsd6 truncate */ - /* 201 is freebsd6 ftruncate */ -#define TARGET_FREEBSD_NR___sysctl 202 -#define TARGET_FREEBSD_NR_mlock 203 -#define TARGET_FREEBSD_NR_munlock 204 -#define TARGET_FREEBSD_NR_undelete 205 -#define TARGET_FREEBSD_NR_futimes 206 -#define TARGET_FREEBSD_NR_getpgid 207 -#define TARGET_FREEBSD_NR_poll 209 -#define TARGET_FREEBSD_NR_freebsd7___semctl 220 -#define TARGET_FREEBSD_NR_semget 221 -#define TARGET_FREEBSD_NR_semop 222 - /* 223 is obsolete semconfig */ -#define TARGET_FREEBSD_NR_freebsd7_msgctl 224 -#define TARGET_FREEBSD_NR_msgget 225 -#define TARGET_FREEBSD_NR_msgsnd 226 -#define TARGET_FREEBSD_NR_msgrcv 227 -#define TARGET_FREEBSD_NR_shmat 228 -#define TARGET_FREEBSD_NR_freebsd7_shmctl 229 -#define TARGET_FREEBSD_NR_shmdt 230 -#define TARGET_FREEBSD_NR_shmget 231 -#define TARGET_FREEBSD_NR_clock_gettime 232 -#define TARGET_FREEBSD_NR_clock_settime 233 -#define TARGET_FREEBSD_NR_clock_getres 234 -#define TARGET_FREEBSD_NR_ktimer_create 235 -#define TARGET_FREEBSD_NR_ktimer_delete 236 -#define TARGET_FREEBSD_NR_ktimer_settime 237 -#define TARGET_FREEBSD_NR_ktimer_gettime 238 -#define TARGET_FREEBSD_NR_ktimer_getoverrun 239 -#define TARGET_FREEBSD_NR_nanosleep 240 -#define TARGET_FREEBSD_NR_ffclock_getcounter 241 -#define TARGET_FREEBSD_NR_ffclock_setestimate 242 -#define TARGET_FREEBSD_NR_ffclock_getestimate 243 -#define TARGET_FREEBSD_NR_clock_nanosleep 244 -#define TARGET_FREEBSD_NR_clock_getcpuclockid2 247 -#define TARGET_FREEBSD_NR_ntp_gettime 248 -#define TARGET_FREEBSD_NR_minherit 250 -#define TARGET_FREEBSD_NR_rfork 251 - /* 252 is obsolete openbsd_poll */ -#define TARGET_FREEBSD_NR_issetugid 253 -#define TARGET_FREEBSD_NR_lchown 254 -#define TARGET_FREEBSD_NR_aio_read 255 -#define TARGET_FREEBSD_NR_aio_write 256 -#define TARGET_FREEBSD_NR_lio_listio 257 -#define TARGET_FREEBSD_NR_freebsd11_getdents 272 -#define TARGET_FREEBSD_NR_lchmod 274 - /* 275 is obsolete netbsd_lchown */ -#define TARGET_FREEBSD_NR_lutimes 276 - /* 277 is obsolete netbsd_msync */ -#define TARGET_FREEBSD_NR_freebsd11_nstat 278 -#define TARGET_FREEBSD_NR_freebsd11_nfstat 279 -#define TARGET_FREEBSD_NR_freebsd11_nlstat 280 -#define TARGET_FREEBSD_NR_preadv 289 -#define TARGET_FREEBSD_NR_pwritev 290 - /* 297 is freebsd4 fhstatfs */ -#define TARGET_FREEBSD_NR_fhopen 298 -#define TARGET_FREEBSD_NR_freebsd11_fhstat 299 -#define TARGET_FREEBSD_NR_modnext 300 -#define TARGET_FREEBSD_NR_modstat 301 -#define TARGET_FREEBSD_NR_modfnext 302 -#define TARGET_FREEBSD_NR_modfind 303 -#define TARGET_FREEBSD_NR_kldload 304 -#define TARGET_FREEBSD_NR_kldunload 305 -#define TARGET_FREEBSD_NR_kldfind 306 -#define TARGET_FREEBSD_NR_kldnext 307 -#define TARGET_FREEBSD_NR_kldstat 308 -#define TARGET_FREEBSD_NR_kldfirstmod 309 -#define TARGET_FREEBSD_NR_getsid 310 -#define TARGET_FREEBSD_NR_setresuid 311 -#define TARGET_FREEBSD_NR_setresgid 312 - /* 313 is obsolete signanosleep */ -#define TARGET_FREEBSD_NR_aio_return 314 -#define TARGET_FREEBSD_NR_aio_suspend 315 -#define TARGET_FREEBSD_NR_aio_cancel 316 -#define TARGET_FREEBSD_NR_aio_error 317 - /* 318 is freebsd6 aio_read */ - /* 319 is freebsd6 aio_write */ - /* 320 is freebsd6 lio_listio */ -#define TARGET_FREEBSD_NR_yield 321 - /* 322 is obsolete thr_sleep */ - /* 323 is obsolete thr_wakeup */ -#define TARGET_FREEBSD_NR_mlockall 324 -#define TARGET_FREEBSD_NR_munlockall 325 -#define TARGET_FREEBSD_NR___getcwd 326 -#define TARGET_FREEBSD_NR_sched_setparam 327 -#define TARGET_FREEBSD_NR_sched_getparam 328 -#define TARGET_FREEBSD_NR_sched_setscheduler 329 -#define TARGET_FREEBSD_NR_sched_getscheduler 330 -#define TARGET_FREEBSD_NR_sched_yield 331 -#define TARGET_FREEBSD_NR_sched_get_priority_max 332 -#define TARGET_FREEBSD_NR_sched_get_priority_min 333 -#define TARGET_FREEBSD_NR_sched_rr_get_interval 334 -#define TARGET_FREEBSD_NR_utrace 335 - /* 336 is freebsd4 sendfile */ -#define TARGET_FREEBSD_NR_kldsym 337 -#define TARGET_FREEBSD_NR_jail 338 -#define TARGET_FREEBSD_NR_nnpfs_syscall 339 -#define TARGET_FREEBSD_NR_sigprocmask 340 -#define TARGET_FREEBSD_NR_sigsuspend 341 - /* 342 is freebsd4 sigaction */ -#define TARGET_FREEBSD_NR_sigpending 343 - /* 344 is freebsd4 sigreturn */ -#define TARGET_FREEBSD_NR_sigtimedwait 345 -#define TARGET_FREEBSD_NR_sigwaitinfo 346 -#define TARGET_FREEBSD_NR___acl_get_file 347 -#define TARGET_FREEBSD_NR___acl_set_file 348 -#define TARGET_FREEBSD_NR___acl_get_fd 349 -#define TARGET_FREEBSD_NR___acl_set_fd 350 -#define TARGET_FREEBSD_NR___acl_delete_file 351 -#define TARGET_FREEBSD_NR___acl_delete_fd 352 -#define TARGET_FREEBSD_NR___acl_aclcheck_file 353 -#define TARGET_FREEBSD_NR___acl_aclcheck_fd 354 -#define TARGET_FREEBSD_NR_extattrctl 355 -#define TARGET_FREEBSD_NR_extattr_set_file 356 -#define TARGET_FREEBSD_NR_extattr_get_file 357 -#define TARGET_FREEBSD_NR_extattr_delete_file 358 -#define TARGET_FREEBSD_NR_aio_waitcomplete 359 -#define TARGET_FREEBSD_NR_getresuid 360 -#define TARGET_FREEBSD_NR_getresgid 361 -#define TARGET_FREEBSD_NR_kqueue 362 -#define TARGET_FREEBSD_NR_freebsd11_kevent 363 - /* 364 is obsolete __cap_get_proc */ - /* 365 is obsolete __cap_set_proc */ - /* 366 is obsolete __cap_get_fd */ - /* 367 is obsolete __cap_get_file */ - /* 368 is obsolete __cap_set_fd */ - /* 369 is obsolete __cap_set_file */ -#define TARGET_FREEBSD_NR_extattr_set_fd 371 -#define TARGET_FREEBSD_NR_extattr_get_fd 372 -#define TARGET_FREEBSD_NR_extattr_delete_fd 373 -#define TARGET_FREEBSD_NR___setugid 374 - /* 375 is obsolete nfsclnt */ -#define TARGET_FREEBSD_NR_eaccess 376 -#define TARGET_FREEBSD_NR_afs3_syscall 377 -#define TARGET_FREEBSD_NR_nmount 378 - /* 379 is obsolete kse_exit */ - /* 380 is obsolete kse_wakeup */ - /* 381 is obsolete kse_create */ - /* 382 is obsolete kse_thr_interrupt */ - /* 383 is obsolete kse_release */ -#define TARGET_FREEBSD_NR___mac_get_proc 384 -#define TARGET_FREEBSD_NR___mac_set_proc 385 -#define TARGET_FREEBSD_NR___mac_get_fd 386 -#define TARGET_FREEBSD_NR___mac_get_file 387 -#define TARGET_FREEBSD_NR___mac_set_fd 388 -#define TARGET_FREEBSD_NR___mac_set_file 389 -#define TARGET_FREEBSD_NR_kenv 390 -#define TARGET_FREEBSD_NR_lchflags 391 -#define TARGET_FREEBSD_NR_uuidgen 392 -#define TARGET_FREEBSD_NR_sendfile 393 -#define TARGET_FREEBSD_NR_mac_syscall 394 -#define TARGET_FREEBSD_NR_freebsd11_getfsstat 395 -#define TARGET_FREEBSD_NR_freebsd11_statfs 396 -#define TARGET_FREEBSD_NR_freebsd11_fstatfs 397 -#define TARGET_FREEBSD_NR_freebsd11_fhstatfs 398 -#define TARGET_FREEBSD_NR_ksem_close 400 -#define TARGET_FREEBSD_NR_ksem_post 401 -#define TARGET_FREEBSD_NR_ksem_wait 402 -#define TARGET_FREEBSD_NR_ksem_trywait 403 -#define TARGET_FREEBSD_NR_ksem_init 404 -#define TARGET_FREEBSD_NR_ksem_open 405 -#define TARGET_FREEBSD_NR_ksem_unlink 406 -#define TARGET_FREEBSD_NR_ksem_getvalue 407 -#define TARGET_FREEBSD_NR_ksem_destroy 408 -#define TARGET_FREEBSD_NR___mac_get_pid 409 -#define TARGET_FREEBSD_NR___mac_get_link 410 -#define TARGET_FREEBSD_NR___mac_set_link 411 -#define TARGET_FREEBSD_NR_extattr_set_link 412 -#define TARGET_FREEBSD_NR_extattr_get_link 413 -#define TARGET_FREEBSD_NR_extattr_delete_link 414 -#define TARGET_FREEBSD_NR___mac_execve 415 -#define TARGET_FREEBSD_NR_sigaction 416 -#define TARGET_FREEBSD_NR_sigreturn 417 -#define TARGET_FREEBSD_NR_getcontext 421 -#define TARGET_FREEBSD_NR_setcontext 422 -#define TARGET_FREEBSD_NR_swapcontext 423 -#define TARGET_FREEBSD_NR_swapoff 424 -#define TARGET_FREEBSD_NR___acl_get_link 425 -#define TARGET_FREEBSD_NR___acl_set_link 426 -#define TARGET_FREEBSD_NR___acl_delete_link 427 -#define TARGET_FREEBSD_NR___acl_aclcheck_link 428 -#define TARGET_FREEBSD_NR_sigwait 429 -#define TARGET_FREEBSD_NR_thr_create 430 -#define TARGET_FREEBSD_NR_thr_exit 431 -#define TARGET_FREEBSD_NR_thr_self 432 -#define TARGET_FREEBSD_NR_thr_kill 433 -#define TARGET_FREEBSD_NR_jail_attach 436 -#define TARGET_FREEBSD_NR_extattr_list_fd 437 -#define TARGET_FREEBSD_NR_extattr_list_file 438 -#define TARGET_FREEBSD_NR_extattr_list_link 439 - /* 440 is obsolete kse_switchin */ -#define TARGET_FREEBSD_NR_ksem_timedwait 441 -#define TARGET_FREEBSD_NR_thr_suspend 442 -#define TARGET_FREEBSD_NR_thr_wake 443 -#define TARGET_FREEBSD_NR_kldunloadf 444 -#define TARGET_FREEBSD_NR_audit 445 -#define TARGET_FREEBSD_NR_auditon 446 -#define TARGET_FREEBSD_NR_getauid 447 -#define TARGET_FREEBSD_NR_setauid 448 -#define TARGET_FREEBSD_NR_getaudit 449 -#define TARGET_FREEBSD_NR_setaudit 450 -#define TARGET_FREEBSD_NR_getaudit_addr 451 -#define TARGET_FREEBSD_NR_setaudit_addr 452 -#define TARGET_FREEBSD_NR_auditctl 453 -#define TARGET_FREEBSD_NR__umtx_op 454 -#define TARGET_FREEBSD_NR_thr_new 455 -#define TARGET_FREEBSD_NR_sigqueue 456 -#define TARGET_FREEBSD_NR_kmq_open 457 -#define TARGET_FREEBSD_NR_kmq_setattr 458 -#define TARGET_FREEBSD_NR_kmq_timedreceive 459 -#define TARGET_FREEBSD_NR_kmq_timedsend 460 -#define TARGET_FREEBSD_NR_kmq_notify 461 -#define TARGET_FREEBSD_NR_kmq_unlink 462 -#define TARGET_FREEBSD_NR_abort2 463 -#define TARGET_FREEBSD_NR_thr_set_name 464 -#define TARGET_FREEBSD_NR_aio_fsync 465 -#define TARGET_FREEBSD_NR_rtprio_thread 466 -#define TARGET_FREEBSD_NR_sctp_peeloff 471 -#define TARGET_FREEBSD_NR_sctp_generic_sendmsg 472 -#define TARGET_FREEBSD_NR_sctp_generic_sendmsg_iov 473 -#define TARGET_FREEBSD_NR_sctp_generic_recvmsg 474 -#define TARGET_FREEBSD_NR_pread 475 -#define TARGET_FREEBSD_NR_pwrite 476 -#define TARGET_FREEBSD_NR_mmap 477 -#define TARGET_FREEBSD_NR_lseek 478 -#define TARGET_FREEBSD_NR_truncate 479 -#define TARGET_FREEBSD_NR_ftruncate 480 -#define TARGET_FREEBSD_NR_thr_kill2 481 -#define TARGET_FREEBSD_NR_freebsd12_shm_open 482 -#define TARGET_FREEBSD_NR_shm_unlink 483 -#define TARGET_FREEBSD_NR_cpuset 484 -#define TARGET_FREEBSD_NR_cpuset_setid 485 -#define TARGET_FREEBSD_NR_cpuset_getid 486 -#define TARGET_FREEBSD_NR_cpuset_getaffinity 487 -#define TARGET_FREEBSD_NR_cpuset_setaffinity 488 -#define TARGET_FREEBSD_NR_faccessat 489 -#define TARGET_FREEBSD_NR_fchmodat 490 -#define TARGET_FREEBSD_NR_fchownat 491 -#define TARGET_FREEBSD_NR_fexecve 492 -#define TARGET_FREEBSD_NR_freebsd11_fstatat 493 -#define TARGET_FREEBSD_NR_futimesat 494 -#define TARGET_FREEBSD_NR_linkat 495 -#define TARGET_FREEBSD_NR_mkdirat 496 -#define TARGET_FREEBSD_NR_mkfifoat 497 -#define TARGET_FREEBSD_NR_freebsd11_mknodat 498 -#define TARGET_FREEBSD_NR_openat 499 -#define TARGET_FREEBSD_NR_readlinkat 500 -#define TARGET_FREEBSD_NR_renameat 501 -#define TARGET_FREEBSD_NR_symlinkat 502 -#define TARGET_FREEBSD_NR_unlinkat 503 -#define TARGET_FREEBSD_NR_posix_openpt 504 -#define TARGET_FREEBSD_NR_gssd_syscall 505 -#define TARGET_FREEBSD_NR_jail_get 506 -#define TARGET_FREEBSD_NR_jail_set 507 -#define TARGET_FREEBSD_NR_jail_remove 508 -#define TARGET_FREEBSD_NR_freebsd12_closefrom 509 -#define TARGET_FREEBSD_NR___semctl 510 -#define TARGET_FREEBSD_NR_msgctl 511 -#define TARGET_FREEBSD_NR_shmctl 512 -#define TARGET_FREEBSD_NR_lpathconf 513 - /* 514 is obsolete cap_new */ -#define TARGET_FREEBSD_NR___cap_rights_get 515 -#define TARGET_FREEBSD_NR_cap_enter 516 -#define TARGET_FREEBSD_NR_cap_getmode 517 -#define TARGET_FREEBSD_NR_pdfork 518 -#define TARGET_FREEBSD_NR_pdkill 519 -#define TARGET_FREEBSD_NR_pdgetpid 520 -#define TARGET_FREEBSD_NR_pselect 522 -#define TARGET_FREEBSD_NR_getloginclass 523 -#define TARGET_FREEBSD_NR_setloginclass 524 -#define TARGET_FREEBSD_NR_rctl_get_racct 525 -#define TARGET_FREEBSD_NR_rctl_get_rules 526 -#define TARGET_FREEBSD_NR_rctl_get_limits 527 -#define TARGET_FREEBSD_NR_rctl_add_rule 528 -#define TARGET_FREEBSD_NR_rctl_remove_rule 529 -#define TARGET_FREEBSD_NR_posix_fallocate 530 -#define TARGET_FREEBSD_NR_posix_fadvise 531 -#define TARGET_FREEBSD_NR_wait6 532 -#define TARGET_FREEBSD_NR_cap_rights_limit 533 -#define TARGET_FREEBSD_NR_cap_ioctls_limit 534 -#define TARGET_FREEBSD_NR_cap_ioctls_get 535 -#define TARGET_FREEBSD_NR_cap_fcntls_limit 536 -#define TARGET_FREEBSD_NR_cap_fcntls_get 537 -#define TARGET_FREEBSD_NR_bindat 538 -#define TARGET_FREEBSD_NR_connectat 539 -#define TARGET_FREEBSD_NR_chflagsat 540 -#define TARGET_FREEBSD_NR_accept4 541 -#define TARGET_FREEBSD_NR_pipe2 542 -#define TARGET_FREEBSD_NR_aio_mlock 543 -#define TARGET_FREEBSD_NR_procctl 544 -#define TARGET_FREEBSD_NR_ppoll 545 -#define TARGET_FREEBSD_NR_futimens 546 -#define TARGET_FREEBSD_NR_utimensat 547 - /* 548 is obsolete numa_getaffinity */ - /* 549 is obsolete numa_setaffinity */ -#define TARGET_FREEBSD_NR_fdatasync 550 -#define TARGET_FREEBSD_NR_fstat 551 -#define TARGET_FREEBSD_NR_fstatat 552 -#define TARGET_FREEBSD_NR_fhstat 553 -#define TARGET_FREEBSD_NR_getdirentries 554 -#define TARGET_FREEBSD_NR_statfs 555 -#define TARGET_FREEBSD_NR_fstatfs 556 -#define TARGET_FREEBSD_NR_getfsstat 557 -#define TARGET_FREEBSD_NR_fhstatfs 558 -#define TARGET_FREEBSD_NR_mknodat 559 -#define TARGET_FREEBSD_NR_kevent 560 -#define TARGET_FREEBSD_NR_cpuset_getdomain 561 -#define TARGET_FREEBSD_NR_cpuset_setdomain 562 -#define TARGET_FREEBSD_NR_getrandom 563 -#define TARGET_FREEBSD_NR_getfhat 564 -#define TARGET_FREEBSD_NR_fhlink 565 -#define TARGET_FREEBSD_NR_fhlinkat 566 -#define TARGET_FREEBSD_NR_fhreadlink 567 -#define TARGET_FREEBSD_NR_funlinkat 568 -#define TARGET_FREEBSD_NR_copy_file_range 569 -#define TARGET_FREEBSD_NR___sysctlbyname 570 -#define TARGET_FREEBSD_NR_shm_open2 571 -#define TARGET_FREEBSD_NR_shm_rename 572 -#define TARGET_FREEBSD_NR_sigfastblock 573 -#define TARGET_FREEBSD_NR___realpathat 574 -#define TARGET_FREEBSD_NR_close_range 575 -#define TARGET_FREEBSD_NR_rpctls_syscall 576 -#define TARGET_FREEBSD_NR_MAXSYSCALL 577 diff --git a/bsd-user/syscall_defs.h b/bsd-user/syscall_defs.h index 4dbd90c2f1..30b0270faa 100644 --- a/bsd-user/syscall_defs.h +++ b/bsd-user/syscall_defs.h @@ -25,29 +25,13 @@ =20 #include "errno_defs.h" =20 -#include "freebsd/syscall_nr.h" +#include "os-syscalls.h" =20 /* * machine/_types.h * or x86/_types.h */ =20 -/* - * time_t seems to be very inconsistly defined for the different *BSD's... - * - * FreeBSD uses a 64bits time_t except on i386 - * so we have to add a special case here. - * - * On NetBSD time_t is always defined as an int64_t. On OpenBSD time_t - * is always defined as an int. - * - */ -#if (!defined(TARGET_I386)) -typedef int64_t target_time_t; -#else -typedef int32_t target_time_t; -#endif - struct target_iovec { abi_long iov_base; /* Starting address */ abi_long iov_len; /* Number of bytes */ --=20 2.52.0 From nobody Thu Apr 30 01:48:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1777473771; cv=none; d=zohomail.com; s=zohoarc; b=iSAHMIR+WNa7h+SDOsabCri7SLMBdgAQuwkvlL6BRAomJDRap1toztWXg+TDZmtGNX83buCWWLz9o8vB6qMazxs7ans0tXzdFgp2oW1LkaIXRRgFoUGffWEyJv0Zl9SsFRWusLPjG7wOag0ad8G4Fks/B4aiOE5zAU6EhQ9euZk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1777473771; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=ZYJSJt9JHpwlXyOmzguxiYsp09gJ5H+HoAyeLEo5w9A=; b=cx3X4p/naKRsF0wEf5m7DVmWn/CF+eHNTwEqzP3BHV6nSXpPgwtWVlWKvCYL52chUWpigR5n2tLpMa9cbpSgSU1YBs+0fqAATs3znRk85rIRcvaqbCeJUmkP+g+SjsMCx5p/24hyBPlOfdakYorYmbYaQP/e39ez7PugMumVPl4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1777473771638304.2036690217386; Wed, 29 Apr 2026 07:42:51 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wI670-00019l-9F; Wed, 29 Apr 2026 10:42:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wI66x-00019B-Ed for qemu-devel@nongnu.org; Wed, 29 Apr 2026 10:42:00 -0400 Received: from mail-ot1-x32e.google.com ([2607:f8b0:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1wI66o-0003AQ-9Y for qemu-devel@nongnu.org; Wed, 29 Apr 2026 10:41:56 -0400 Received: by mail-ot1-x32e.google.com with SMTP id 46e09a7af769-7de4ebe10cbso5318812a34.3 for ; Wed, 29 Apr 2026 07:41:49 -0700 (PDT) Received: from rebo.bsdimp.com ([50.253.99.174]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7deab9d6067sm1553377a34.22.2026.04.29.07.41.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Apr 2026 07:41:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20251104.gappssmtp.com; s=20251104; t=1777473709; x=1778078509; darn=nongnu.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=ZYJSJt9JHpwlXyOmzguxiYsp09gJ5H+HoAyeLEo5w9A=; b=H87D1WoHkD6DjWB/yF3UnR76wzWFboyjQNszD6YqjpE5zAF3zZi0+z8pd0Ns/CRb6A ztGULDY3Xw550Kxd7ipg+T4sQBch5dNr/6nnlXBiq7nhSVj9kmgcc93sUndUe8vhsDJd sx5VfsPF549kGgsuXF1eQ1/FWca4SD5qvLJAZIso8J8OQLUy6Yy7FH65KmUnP6zA8AIu rtuEyHPow4hLYj+e8JAZKe8Gik0eyoIrF/J/8yq0lCLhOAPmSEMWAVwqiKebOOxrtM7c ah+PamW92/PtPjktu94AX92BmhO7vCkI5c9ff413oJ8vh9eEZT/vaLD59T05KvVGwZjQ SvbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777473709; x=1778078509; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=ZYJSJt9JHpwlXyOmzguxiYsp09gJ5H+HoAyeLEo5w9A=; b=adflYrVUKgld2YWIHtYW7lpciEQMy1MuDjxOed8oM0S0Vc4BBFvCERaId+5V5cPdn4 KZEI4LcaWnvYZbR2+fv6jsLlehneBuFZhySy6p8KmEchYqRWZZ7fjfjUon/1ol0Gw0u1 9PXitRbDJU9FAiT2f7aFi70dEscSpkPr95LlW+p8/it8XrF5mI9zLTocJY0OS2Kvw91j 2COPCvMQHEWFSjUny/2WcfwkGMCJjoaUR2lyeOxq5xcsNpQ9rFFeI4CIyTZaK6Xyjc3e xBdm062Fiyp3rZ/cHy+oUxNVpP/vKboFrp4HnpBCYb6k6RTlqgDgwd21HcHNZ2Jz8/7I B+Bw== X-Gm-Message-State: AOJu0YwcYKqZHzA7WrHOCxAJTJUJar5esUXfEGNbqD0s2g8IqJJmEArR NMcqG3SXxO10h7miCqP5kHu3HQc889x7Fwp7k3IVUEooKCOVKq9ouGWhQn4XnCXJYPf4ngTOCGp puwQJPgs= X-Gm-Gg: AeBDieuIgwLH4Up5C8xuZX3OoUz6hCVqk4+mHAV50UYmatHBBefLJW7mePO4A2EIwE6 IpzT//oyRzYimqHZZv5eaKwDdFr/5nHQOTUVgYCTMT7rn4/gqadrjK0l6A5WYEE2OeaKA61pvp8 iNE8Fa4DYB5BmDYwPqMLikhI1L+ftnbxJMgdv8A91cb7X7HmzqmJKW4TvP6bPWOV+2FOzE8JE+N QuK+386QfxkGkIC/uAwoVDdNopWK79IDWM3okKh9qJlxM1c8hdm6CmvwLV6Z1bPnkFAjYXuJNML qPBnOK0BSwCdNfkRffQo0xnuvjIyNxW5eBmLug2ge1Axp+sF+pcIcCW6B5nHwpMkPifcReqOKyp gtHWsNn0r/MtX+3woBHC8+3Bo1IIvv7CLzVjcer0MpLFoAPIcE7mRCbHQzaGU0w9dniQq8QRvk5 JeavaHV+ucOBjMTzYlugfo X-Received: by 2002:a05:6830:6a8b:b0:7db:f6a1:3742 with SMTP id 46e09a7af769-7de9a1661camr5140313a34.28.1777473708267; Wed, 29 Apr 2026 07:41:48 -0700 (PDT) From: Warner Losh Date: Wed, 29 Apr 2026 08:38:55 -0600 Subject: [PATCH v2 5/5] bsd-user: Regnerate strace.list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260429-syscall-nr-v2-5-67a8d09dc13e@bsdimp.com> References: <20260429-syscall-nr-v2-0-67a8d09dc13e@bsdimp.com> In-Reply-To: <20260429-syscall-nr-v2-0-67a8d09dc13e@bsdimp.com> To: qemu-devel@nongnu.org Cc: Kyle Evans , Paolo Bonzini , =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Pierrick Bouvier , Warner Losh X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=50715; i=imp@bsdimp.com; h=from:subject:message-id; bh=LaiLKuYQmYgwG2ap7oy+Af7T7tXdl6ffi8DmSiwNqBc=; b=owEBbQKS/ZANAwAKAWwc0Sh9sBEAAcsmYgBp8hhLzkqFQCWr0HoWGhzxGFhq0xxTfmfWsngwR pcr6yGssVCJAjMEAAEKAB0WIQQgNfiUsAqjz3zN4bdsHNEofbARAAUCafIYSwAKCRBsHNEofbAR AK4kD/9roYgKtn37hgUbMG58u/fm/nFsh6qlT7CuvmjXKDmoxH3ADcDBnssdZq5Ij2q1hktyH0y PkangU6/h/rbABqmoH15+citK3AeXJSPbqG2Y3lV7Oyy63qBhfjiOSUnwcF39cN1KDS/VHAq95N sRQkwlTQ8/3doITaSTGcVKoizq4d8YesoIu6g2cHnpOjpoS9MRtNskall/X1GeEVOst4SC0aFc8 7htzn9S/X7Che0Z5T6haS/M7535ZVF5OPIl5uSVshKctpP0ROetydjt+Y25UD/6z8xfcusuC16b MfQhS/A3ZfZJDnheJ4623kvolY3YKRXyww70jDjapyUuXKn51op0MXAlGiDCjL/1x35oiXpkCJT l19xPmU3xeqEEroi6Pfvi/redBGH7s+9VU9CS8YB35nAsPxaLe6uSvkRkRndpKIRzMX3/uteSPj Cw5VslUaVOhlNvEK34zyucOhcarjtjXsRaQdbTADXgSB4BebCyGw8S1I44VR1rNMaT7z3hQTkeo fTBmO+WUJ5hSfvLrB4NMUyihJtE3JP+2U0OikYbNtj3jIVK5Bkl5KlJdoEZIEw5Jsvy3p7xnWmb TlKGr52Q76nKuQUdFIQ6GQx1YZk9J+XIXUA4x6FU5sY+OfwAeCLvGm35X+eWc5LTOUpUb5ARK6Q w+jaN6SvL3M4aHQ== X-Developer-Key: i=imp@bsdimp.com; a=openpgp; fpr=2035F894B00AA3CF7CCDE1B76C1CD1287DB01100 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: none client-ip=2607:f8b0:4864:20::32e; envelope-from=imp@bsdimp.com; helo=mail-ot1-x32e.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @bsdimp-com.20251104.gappssmtp.com) X-ZM-MESSAGEID: 1777473773243158500 Generate strace.list in a stable way. All FreeBSD system call numbers are stable: they always and will forever mean only one thing (even if we abandon a syscall number and remove the code from the kernel, we'll never reuse it). System calls are the same across all architectures, and newer versions just have more of them. Use the number in the generated table so we can compile it on any version of FreeBSD. Also include the script that I used to generate this. It requires the FreeBSD source tree, which is why we can't use it to generate strace.list. This depends on the FreeBSD source tree at the moment, since it uses the same system call generation machinery that FreeBSD uses to generate its system call tables, so we can't connect it to the qemu build until that issue is corrected. We've had a terrible strace.list for a while, and this will make it better (and there's serious issues with strace, just like linux-user, so it's a little-used feature). Note: I derived this script from one of the FreeBSD system call generation scripts, so it needs to be BSD-2-Clause license, which deviates a bit from the GPL-2.0-or-newer preference, but I think is OK since it's not folded into the qemu binaries themselves (and output of scripts is typically public domain, as is the case here). This script is written in lua, but every FreeBSD installation has a 'flua' binary that can run this script, and it leverages about 7k lines of library and metadata FreeBSD maintains well. Signed-off-by: Warner Losh Reviewed-by: Pierrick Bouvier --- bsd-user/freebsd/scripts/strace.lua | 117 ++++++ bsd-user/freebsd/strace.list | 708 ++++++++++++++++++++++----------= ---- 2 files changed, 556 insertions(+), 269 deletions(-) diff --git a/bsd-user/freebsd/scripts/strace.lua b/bsd-user/freebsd/scripts= /strace.lua new file mode 100755 index 0000000000..c89e8e3aeb --- /dev/null +++ b/bsd-user/freebsd/scripts/strace.lua @@ -0,0 +1,117 @@ +#!/usr/libexec/flua +-- +-- SPDX-License-Identifier: BSD-2-Clause +-- +-- Copyright (c) 2026 Warner Losh +-- Copyright (c) 2024 Tyler Baxter +-- Copyright (c) 2019 Kyle Evans +-- + +-- Add library root to the package path. +local path =3D arg[0]:gsub("/[^/]+.lua$", "") +package.path =3D package.path .. ";" .. path .. "/?.lua;" .. os.getenv('FR= EEBSD_SYSCALL_DIR') .. "/?.lua" + +local FreeBSDSyscall =3D require("core.freebsd-syscall") +local generator =3D require("tools.generator") +local config =3D require("config") + +-- File has not been decided yet; config will decide file. Default define= d as +-- /dev/null. +file =3D "/dev/stdout" + +function generate(tbl, config, fh) + -- Grab the master system calls table. + local s =3D tbl.syscalls + + table.sort(s, function(a, b) + return a.arg_alias < b.arg_alias + end) + -- Bind the generator to the parameter file. + local gen =3D generator:new({}, fh) + gen.storage_levels =3D {} -- make sure storage is clear + + -- Write the generated preamble. + gen:preamble("FreeBSD strace list\nNOTE: Use syscall numbers so we work o= n all the branches.") + + for _, v in pairs(s) do + local c =3D v:compatLevel() + + -- Handle non-compat: + if v:native() then + -- All these negation conditions are because (in + -- general) these are cases where code for sysproto.h + -- is not generated. + if not v.type.NOARGS and not v.type.NOPROTO and + not v.type.NODEF then + fmt =3D "NULL" + fcn =3D "NULL" + if v.arg_alias =3D=3D "__sysctl" then + fcn =3D "print_sysctl" + elseif v.arg_alias =3D=3D "execve" or v.arg_alias =3D=3D "fexecve" then + fcn =3D "print_execve" + elseif v.arg_alias =3D=3D "ioctl" then + fcn =3D "print_ioctl" + elseif v.arg_alias =3D=3D "mmap" then + fcn =3D "print_mmap" + elseif v.arg_alias =3D=3D "sysarch" then + fcn =3D "print_sysarch" + elseif #v.args > 0 then + fmt =3D "\"%s(" + for _, arg in ipairs(v.args) do + if arg.type =3D=3D "char *" then + fmt =3D fmt .. "%s, " + elseif arg.type =3D=3D "mode_t" then + fmt =3D fmt .. "%o, " + else + fmt =3D fmt .. "%#x, " + end + end + fmt =3D fmt:sub(1, -3) .. ")\"" + end + gen:write(string.format( + "{ %d, \"%s\", %s, %s, NULL },\n", + v.num, v.arg_alias, fmt, fcn)) + end + -- Handle compat (everything >=3D FREEBSD9): + elseif c >=3D 9 then + local idx =3D c * 10 + if not v.type.NOARGS and not v.type.NOPROTO and + not v.type.NODEF then + fmt =3D "NULL" + if #v.args > 0 then + fmt =3D "\"%s(" + for _, arg in ipairs(v.args) do + if arg.type =3D=3D "char *" then + fmt =3D fmt .. "%s, " + elseif arg.type =3D=3D "mode_t" then + fmt =3D fmt .. "%o, " + else + fmt =3D fmt .. "%#x, " + end + end + fmt =3D fmt:sub(1, -3) .. ")\"" + end + gen:write(string.format( + "{ %d, \"%s\", %s, %s, NULL },\n", + v.num, v.arg_alias, fmt, fcn)) + end + end + -- Do nothing for obsolete, unimplemented, and reserved. + end +end + + +if #arg < 1 or #arg > 2 then + error("usage: " .. arg[0] .. " syscall.master") +end + +local sysfile =3D arg[1] + +config.merge(None) +config.mergeCompat() + +-- The parsed system call table. +local tbl =3D FreeBSDSyscall:new{sysfile =3D sysfile, config =3D config} + +file =3D arg[2] or "/dev/stdout" +generate(tbl, config, file) diff --git a/bsd-user/freebsd/strace.list b/bsd-user/freebsd/strace.list index d7f61f480e..2c4176475a 100644 --- a/bsd-user/freebsd/strace.list +++ b/bsd-user/freebsd/strace.list @@ -1,273 +1,443 @@ /* - * FreeBSD strace list + * FreeBSD strace list + * NOTE: Use syscall numbers so we work on all the branches. * - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, see . + * DO NOT EDIT-- this file is automatically @generated. */ =20 -{ TARGET_FREEBSD_NR___acl_aclcheck_fd, "__acl_aclcheck_fd", "%s(%d, %d, %#= x)", NULL, NULL }, -{ TARGET_FREEBSD_NR___acl_aclcheck_file, "__acl_aclcheck_file", "%s(\"%s\"= , %d, %#x)", NULL, NULL }, -{ TARGET_FREEBSD_NR___acl_aclcheck_link, "__acl_aclcheck_link", "%s(\"%s\"= , %d, %#x)", NULL, NULL }, -{ TARGET_FREEBSD_NR___acl_delete_fd, "__acl_delete_fd", "%s(%d, %d)", NULL= , NULL }, -{ TARGET_FREEBSD_NR___acl_delete_file, "__acl_delete_file", "%s(\"%s\", %d= )", NULL, NULL }, -{ TARGET_FREEBSD_NR___acl_delete_link, "__acl_delete_link", "%s(\"%s\", %d= )", NULL, NULL }, -{ TARGET_FREEBSD_NR___acl_get_fd, "__acl_get_fd", "%s(%d, %d, %#x)", NULL,= NULL }, -{ TARGET_FREEBSD_NR___acl_get_file, "__acl_get_file", "%s(\"%s\", %d, %#x)= ", NULL, NULL }, -{ TARGET_FREEBSD_NR___acl_get_link, "__acl_get_link", "%s(\"%s\", %d, %#x)= ", NULL, NULL }, -{ TARGET_FREEBSD_NR___acl_set_fd, "__acl_set_fd", "%s(%d, %d, %#x)", NULL,= NULL }, -{ TARGET_FREEBSD_NR___acl_set_file, "__acl_set_file", "%s(\"%s\", %d, %#x)= ", NULL, NULL }, -{ TARGET_FREEBSD_NR___acl_set_link, "__acl_set_link", "%s(\"%s\", %d, %#x)= ", NULL, NULL }, -{ TARGET_FREEBSD_NR___getcwd, "__getcwd", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR___semctl, "__semctl", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR___syscall, "__syscall", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR___sysctl, "__sysctl", NULL, print_sysctl, NULL }, -{ TARGET_FREEBSD_NR__umtx_op, "_umtx_op", "%s(%#x, %d, %d, %#x, %#x)", NUL= L, NULL }, -{ TARGET_FREEBSD_NR_accept, "accept", "%s(%d,%#x,%#x)", NULL, NULL }, -{ TARGET_FREEBSD_NR_accept4, "accept4", "%s(%d,%d,%#x,%#x)", NULL, NULL }, -{ TARGET_FREEBSD_NR_access, "access", "%s(\"%s\",%#o)", NULL, NULL }, -{ TARGET_FREEBSD_NR_acct, "acct", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_adjtime, "adjtime", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_bind, "bind", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_bindat, "bindat", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_break, "break", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_cap_enter, "cap_enter", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_cap_fcntls_get, "cap_fcntls_get", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_cap_fcntls_limit, "cap_fcntls_limit", NULL, NULL, NULL= }, -{ TARGET_FREEBSD_NR_cap_getmode, "cap_getmode", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_cap_ioctls_get, "cap_ioctls_get", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_cap_ioctls_limit, "cap_ioctls_limit", NULL, NULL, NULL= }, -{ TARGET_FREEBSD_NR_cap_rights_limit, "cap_rights_limit", NULL, NULL, NULL= }, -{ TARGET_FREEBSD_NR_chdir, "chdir", "%s(\"%s\")", NULL, NULL }, -{ TARGET_FREEBSD_NR_chflags, "chflags", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_chflagsat, "chflagsat", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_chmod, "chmod", "%s(\"%s\",%#o)", NULL, NULL }, -{ TARGET_FREEBSD_NR_chown, "chown", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_chroot, "chroot", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_clock_getres, "clock_getres", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_clock_gettime, "clock_gettime", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_clock_settime, "clock_settime", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_close, "close", "%s(%d)", NULL, NULL }, -{ TARGET_FREEBSD_NR_connect, "connect", "%s(%d,%#x,%d)", NULL, NULL }, -{ TARGET_FREEBSD_NR_connectat, "connectat", "%s(%d,%d,%#x,%d)", NULL, NULL= }, -{ TARGET_FREEBSD_NR_cpuset_getdomain, "cpuset_getdomain", NULL, NULL, NULL= }, -{ TARGET_FREEBSD_NR_cpuset_setdomain, "cpuset_setdomain", NULL, NULL, NULL= }, -{ TARGET_FREEBSD_NR_dup, "dup", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_dup2, "dup2", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_eaccess, "eaccess", "%s(\"%s\",%#x)", NULL, NULL }, -{ TARGET_FREEBSD_NR_execve, "execve", NULL, print_execve, NULL }, -{ TARGET_FREEBSD_NR_exit, "exit", "%s(%d)\n", NULL, NULL }, -{ TARGET_FREEBSD_NR_extattrctl, "extattrctl", "%s(\"%s\", %d, \"%s\", %d, = \"%s\"", NULL, NULL }, -{ TARGET_FREEBSD_NR_extattr_delete_fd, "extattr_delete_fd", "%s(%d, %d, \"= %s\")", NULL, NULL }, -{ TARGET_FREEBSD_NR_extattr_delete_file, "extattr_delete_file", "%s(\"%s\"= , %d, \"%s\")", NULL, NULL }, -{ TARGET_FREEBSD_NR_extattr_delete_link, "extattr_delete_link", "%s(\"%s\"= , %d, \"%s\")", NULL, NULL }, -{ TARGET_FREEBSD_NR_extattr_get_fd, "extattr_get_fd", "%s(%d, %d, \"%s\", = %#x, %d)", NULL, NULL }, -{ TARGET_FREEBSD_NR_extattr_get_file, "extattr_get_file", "%s(\"%s\", %d, = \"%s\", %#x, %d)", NULL, NULL }, -{ TARGET_FREEBSD_NR_extattr_get_file, "extattr_get_link", "%s(\"%s\", %d, = \"%s\", %#x, %d)", NULL, NULL }, -{ TARGET_FREEBSD_NR_extattr_list_fd, "extattr_list_fd", "%s(%d, %d, %#x, %= d)", NULL, NULL }, -{ TARGET_FREEBSD_NR_extattr_list_file, "extattr_list_file", "%s(\"%s\", %#= x, %d)", NULL, NULL }, -{ TARGET_FREEBSD_NR_extattr_list_link, "extattr_list_link", "%s(\"%s\", %d= , %#x, %d)", NULL, NULL }, -{ TARGET_FREEBSD_NR_extattr_set_fd, "extattr_set_fd", "%s(%d, %d, \"%s\", = %#x, %d)", NULL, NULL }, -{ TARGET_FREEBSD_NR_extattr_set_file, "extattr_set_file", "%s(\"%s\", %d, = \"%s\", %#x, %d)", NULL, NULL }, -{ TARGET_FREEBSD_NR_extattr_set_link, "extattr_set_link", "%s(\"%s\", %d, = \"%s\", %#x, %d)", NULL, NULL }, -{ TARGET_FREEBSD_NR_fchdir, "fchdir", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_fchflags, "fchflags", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_fchmod, "fchmod", "%s(%d,%#o)", NULL, NULL }, -{ TARGET_FREEBSD_NR_fchown, "fchown", "%s(%d,%d,%d)", NULL, NULL }, -{ TARGET_FREEBSD_NR_fcntl, "fcntl", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_fdatasync, "fdatasync", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_fexecve, "fexecve", NULL, print_execve, NULL }, -{ TARGET_FREEBSD_NR_fhopen, "fhopen", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_fhstat, "fhstat", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_fhstatfs, "fhstatfs", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_freebsd11_fhstat, "freebsd11_fhstat", NULL, NULL, NULL= }, -{ TARGET_FREEBSD_NR_freebsd11_fhstatfs, "freebsd11_fhstatfs", NULL, NULL, = NULL }, -{ TARGET_FREEBSD_NR_flock, "flock", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_fork, "fork", "%s()", NULL, NULL }, -{ TARGET_FREEBSD_NR_fpathconf, "fpathconf", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_fstat, "fstat", "%s(%d,%#x)", NULL, NULL }, -{ TARGET_FREEBSD_NR_fstatat, "fstatat", "%s(%d,\"%s\", %#x, %d)", NULL, NU= LL }, -{ TARGET_FREEBSD_NR_fstatfs, "fstatfs", "%s(%d,%#x)", NULL, NULL }, -{ TARGET_FREEBSD_NR_freebsd11_fstat, "freebsd11_fstat", "%s(%d,%#x)", NULL= , NULL }, -{ TARGET_FREEBSD_NR_freebsd11_fstatat, "freebsd11_fstatat", "%s(%d,\"%s\",= %#x, %d)", NULL, NULL }, -{ TARGET_FREEBSD_NR_freebsd11_fstatfs, "freebsd11_fstatfs", "%s(%d,%#x)", = NULL, NULL }, -{ TARGET_FREEBSD_NR_fsync, "fsync", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_ftruncate, "ftruncate", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_futimens, "futimens", "%s(%d,%p)", NULL, NULL }, -{ TARGET_FREEBSD_NR_futimes, "futimes", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_getcontext, "getcontext", "%s(%#x)", NULL, NULL }, -{ TARGET_FREEBSD_NR_getdirentries, "getdirentries", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_freebsd11_getdirentries, "freebsd11_getdirentries", NU= LL, NULL, NULL }, -{ TARGET_FREEBSD_NR_getegid, "getegid", "%s()", NULL, NULL }, -{ TARGET_FREEBSD_NR_geteuid, "geteuid", "%s()", NULL, NULL }, -{ TARGET_FREEBSD_NR_getfh, "getfh", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_getfsstat, "getfsstat", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_freebsd11_getfsstat, "freebsd11_getfsstat", NULL, NULL= , NULL }, -{ TARGET_FREEBSD_NR_getgid, "getgid", "%s()", NULL, NULL }, -{ TARGET_FREEBSD_NR_getgroups, "getgroups", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_getitimer, "getitimer", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_getlogin, "getlogin", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_getpeername, "getpeername", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_getpgid, "getpgid", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_getpgrp, "getpgrp", "%s()", NULL, NULL }, -{ TARGET_FREEBSD_NR_getpid, "getpid", "%s()", NULL, NULL }, -{ TARGET_FREEBSD_NR_getppid, "getppid", "%s()", NULL, NULL }, -{ TARGET_FREEBSD_NR_getpriority, "getpriority", "%s(%#x,%#x)", NULL, NULL = }, -{ TARGET_FREEBSD_NR_getrandom, "getrandom", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_getresgid, "getresgid", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_getresuid, "getresuid", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_getrlimit, "getrlimit", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_getrusage, "getrusage", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_getsid, "getsid", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_getsockname, "getsockname", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_getsockopt, "getsockopt", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_gettimeofday, "gettimeofday", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_getuid, "getuid", "%s()", NULL, NULL }, -{ TARGET_FREEBSD_NR_ioctl, "ioctl", NULL, print_ioctl, NULL }, -{ TARGET_FREEBSD_NR_issetugid, "issetugid", "%s()", NULL, NULL }, -{ TARGET_FREEBSD_NR_freebsd11_kevent, "freebsd11_kevent", NULL, NULL, NULL= }, -{ TARGET_FREEBSD_NR_kevent, "kevent", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_kill, "kill", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_kqueue, "kqueue", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_ktrace, "ktrace", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_lchown, "lchown", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_link, "link", "%s(\"%s\",\"%s\")", NULL, NULL }, -{ TARGET_FREEBSD_NR_listen, "listen", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_lpathconf, "lpathconf", "%s(\"%s\", %d)", NULL, NULL }, -{ TARGET_FREEBSD_NR_lseek, "lseek", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_freebsd11_lstat, "freebsd11_lstat", "%s(\"%s\",%p)", N= ULL, NULL }, -{ TARGET_FREEBSD_NR_madvise, "madvise", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_mincore, "mincore", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_minherit, "minherit", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_mkdir, "mkdir", "%s(\"%s\",%#o)", NULL, NULL }, -{ TARGET_FREEBSD_NR_mkfifo, "mkfifo", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_mknodat, "mknodat", "%s(%d, \"%s\",%#o,%#x)", NULL, NU= LL }, -{ TARGET_FREEBSD_NR_freebsd11_mknod, "freebsd11_mknod", "%s(\"%s\",%#o,%#x= )", NULL, NULL }, -{ TARGET_FREEBSD_NR_freebsd11_mknodat, "freebsd11_mknodat", "%s(%d, \"%s\"= ,%#o,%#x)", NULL, NULL }, -{ TARGET_FREEBSD_NR_mlock, "mlock", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_mlockall, "mlockall", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_mmap, "mmap", NULL, NULL, print_syscall_ret_addr }, -{ TARGET_FREEBSD_NR_mount, "mount", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_mprotect, "mprotect", "%s(%#x,%#x,%d)", NULL, NULL }, -{ TARGET_FREEBSD_NR_msgctl, "msgctl", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_msgget, "msgget", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_msgrcv, "msgrcv", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_msgsnd, "msgsnd", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_msync, "msync", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_munlock, "munlock", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_munlockall, "munlockall", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_munmap, "munmap", "%s(%p,%d)", NULL, NULL }, -{ TARGET_FREEBSD_NR_nanosleep, "nanosleep", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_nfssvc, "nfssvc", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_open, "open", "%s(\"%s\",%#x,%#o)", NULL, NULL }, -{ TARGET_FREEBSD_NR_openat, "openat", "%s(%d, \"%s\",%#x,%#o)", NULL, NULL= }, -{ TARGET_FREEBSD_NR_pathconf, "pathconf", "%s(\"%s\", %d)", NULL, NULL }, -{ TARGET_FREEBSD_NR_freebsd10_pipe, "freebsd10_pipe", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_pipe2, "pipe2", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_poll, "poll", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_posix_fallocate, "posix_fallocate", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_pread, "pread", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_preadv, "preadv", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_profil, "profil", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_ptrace, "ptrace", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_pwrite, "pwrite", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_pwritev, "pwritev", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_quotactl, "quotactl", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_read, "read", "%s(%d,%#x,%d)", NULL, NULL }, -{ TARGET_FREEBSD_NR_readlink, "readlink", "%s(\"%s\",%p,%d)", NULL, NULL }, -{ TARGET_FREEBSD_NR_readv, "readv", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_reboot, "reboot", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_recvfrom, "recvfrom", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_recvmsg, "recvmsg", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_rename, "rename", "%s(\"%s\",\"%s\")", NULL, NULL }, -{ TARGET_FREEBSD_NR_revoke, "revoke", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_rfork, "rfork", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_rmdir, "rmdir", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_rtprio_thread, "rtprio_thread", "%s(%d, %d, %p)", NULL= , NULL }, -#ifdef TARGET_FREEBSD_NR_sbrk -{ TARGET_FREEBSD_NR_sbrk, "sbrk", NULL, NULL, NULL }, -#endif -{ TARGET_FREEBSD_NR_sched_get_priority_max, "sched_get_priority_max", NULL= , NULL, NULL }, -{ TARGET_FREEBSD_NR_sched_get_priority_min, "sched_get_priority_min", NULL= , NULL, NULL }, -{ TARGET_FREEBSD_NR_sched_yield, "sched_yield", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_select, "select", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_semget, "semget", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_semop, "semop", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_sendmsg, "sendmsg", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_sendto, "sendto", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_setcontext, "setcontext", "%s(%#x)", NULL, NULL }, -{ TARGET_FREEBSD_NR_setegid, "setegid", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_seteuid, "seteuid", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_setgid, "setgid", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_setgroups, "setgroups", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_setitimer, "setitimer", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_setlogin, "setlogin", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_setpgid, "setpgid", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_setpriority, "setpriority", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_setregid, "setregid", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_setresgid, "setresgid", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_setresuid, "setresuid", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_setreuid, "setreuid", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_setrlimit, "setrlimit", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_setsid, "setsid", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_setsockopt, "setsockopt", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_settimeofday, "settimeofday", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_setuid, "setuid", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_shmat, "shmat", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_shmctl, "shmctl", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_shmdt, "shmdt", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_shmget, "shmget", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_shutdown, "shutdown", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_sigaction, "sigaction", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_sigaltstack, "sigaltstack", "%s(%p,%p)", NULL, NULL }, -{ TARGET_FREEBSD_NR_sigpending, "sigpending", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_sigprocmask, "sigprocmask", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_sigreturn, "sigreturn", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_sigsuspend, "sigsuspend", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_socket, "socket", "%s(%d,%d,%d)", NULL, NULL }, -{ TARGET_FREEBSD_NR_socketpair, "socketpair", NULL, NULL, NULL }, -#ifdef TARGET_FREEBSD_NR_sstk -{ TARGET_FREEBSD_NR_sstk, "sstk", NULL, NULL, NULL }, -#endif -{ TARGET_FREEBSD_NR_freebsd11_stat, "freebsd11_stat", "%s(\"%s\",%p)", NUL= L, NULL }, -{ TARGET_FREEBSD_NR_freebsd11_statfs, "freebsd11_statfs", "%s(\"%s\",%p)",= NULL, NULL }, -{ TARGET_FREEBSD_NR_symlink, "symlink", "%s(\"%s\",\"%s\")", NULL, NULL }, -{ TARGET_FREEBSD_NR_sync, "sync", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_sysarch, "sysarch", NULL, print_sysarch, NULL }, -{ TARGET_FREEBSD_NR_syscall, "syscall", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_ktimer_create, "timer_create" , NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_ktimer_delete, "timer_delete" , NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_ktimer_settime, "timer_settime" , NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_ktimer_gettime, "timer_gettime" , NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_ktimer_getoverrun, "timer_getoverrun" , NULL, NULL, NU= LL }, -{ TARGET_FREEBSD_NR_thr_create, "thr_create", "%s(%#x, %#x, %d)", NULL, NU= LL }, -{ TARGET_FREEBSD_NR_thr_exit, "thr_exit", "%s(%#x)", NULL, NULL }, -{ TARGET_FREEBSD_NR_thr_kill, "thr_kill", "%s(%d, %#x)", NULL, NULL }, -{ TARGET_FREEBSD_NR_thr_kill2, "thr_kill2", "%s(%d, %d, %d)", NULL, NULL }, -{ TARGET_FREEBSD_NR_thr_new, "thr_new", "%s(%#x, %d)", NULL, NULL }, -{ TARGET_FREEBSD_NR_thr_self, "thr_self", "%s(%#x)", NULL, NULL }, -{ TARGET_FREEBSD_NR_thr_set_name, "thr_set_name", "%s(%d, \"%s\")", NULL, = NULL }, -{ TARGET_FREEBSD_NR_thr_suspend, "thr_suspend", "%s(%d, %#x)", NULL, NULL = }, -{ TARGET_FREEBSD_NR_thr_wake, "thr_wake", "%s(%d)", NULL, NULL }, -{ TARGET_FREEBSD_NR_truncate, "truncate", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_umask, "umask", "%s(%#o)", NULL, NULL }, -{ TARGET_FREEBSD_NR_unlink, "unlink", "%s(\"%s\")", NULL, NULL }, -{ TARGET_FREEBSD_NR_unmount, "unmount", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_utimes, "utimes", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_utimensat, "utimensat", "%s(%d,%s,%p,%#x)", NULL, NULL= }, -{ TARGET_FREEBSD_NR_vfork, "vfork", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_wait4, "wait4", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_wait6, "wait6", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR_write, "write", "%s(%d,%#x,%d)", NULL, NULL }, -{ TARGET_FREEBSD_NR_writev, "writev", "%s(%d,%p,%#x)", NULL, NULL }, -{ TARGET_FREEBSD_NR_posix_openpt, "posix_openpt", "%s(%d)", NULL, NULL }, +{ 354, "__acl_aclcheck_fd_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 353, "__acl_aclcheck_file_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 428, "__acl_aclcheck_link_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 352, "__acl_delete_fd_args", "%s(%#x, %#x)", NULL, NULL }, +{ 351, "__acl_delete_file_args", "%s(%#x, %#x)", NULL, NULL }, +{ 427, "__acl_delete_link_args", "%s(%#x, %#x)", NULL, NULL }, +{ 349, "__acl_get_fd_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 347, "__acl_get_file_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 425, "__acl_get_link_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 350, "__acl_set_fd_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 348, "__acl_set_file_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 426, "__acl_set_link_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 515, "__cap_rights_get_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 326, "__getcwd_args", "%s(%s, %#x)", NULL, NULL }, +{ 415, "__mac_execve_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 386, "__mac_get_fd_args", "%s(%#x, %#x)", NULL, NULL }, +{ 387, "__mac_get_file_args", "%s(%#x, %#x)", NULL, NULL }, +{ 410, "__mac_get_link_args", "%s(%#x, %#x)", NULL, NULL }, +{ 409, "__mac_get_pid_args", "%s(%#x, %#x)", NULL, NULL }, +{ 384, "__mac_get_proc_args", "%s(%#x)", NULL, NULL }, +{ 388, "__mac_set_fd_args", "%s(%#x, %#x)", NULL, NULL }, +{ 389, "__mac_set_file_args", "%s(%#x, %#x)", NULL, NULL }, +{ 411, "__mac_set_link_args", "%s(%#x, %#x)", NULL, NULL }, +{ 385, "__mac_set_proc_args", "%s(%#x)", NULL, NULL }, +{ 574, "__realpathat_args", "%s(%#x, %#x, %s, %#x, %#x)", NULL, NULL }, +{ 510, "__semctl_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 374, "__setugid_args", "%s(%#x)", NULL, NULL }, +{ 577, "__specialfd_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 202, "__sysctl_args", "%s(%#x, %#x, %#x, %#x, %#x, %#x)", NULL, NULL }, +{ 570, "__sysctlbyname_args", "%s(%#x, %#x, %#x, %#x, %#x, %#x)", NULL, NU= LL }, +{ 1, "_exit_args", "%s(%#x)", NULL, NULL }, +{ 454, "_umtx_op_args", "%s(%#x, %#x, %#x, %#x, %#x)", NULL, NULL }, +{ 463, "abort2_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 541, "accept4_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 30, "accept_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 33, "access_args", "%s(%#x, %#x)", NULL, NULL }, +{ 51, "acct_args", "%s(%#x)", NULL, NULL }, +{ 140, "adjtime_args", "%s(%#x, %#x)", NULL, NULL }, +{ 377, "afs3_syscall_args", "%s(%#x, %#x, %#x, %#x, %#x, %#x, %#x)", NULL,= NULL }, +{ 316, "aio_cancel_args", "%s(%#x, %#x)", NULL, NULL }, +{ 317, "aio_error_args", "%s(%#x)", NULL, NULL }, +{ 465, "aio_fsync_args", "%s(%#x, %#x)", NULL, NULL }, +{ 543, "aio_mlock_args", "%s(%#x)", NULL, NULL }, +{ 255, "aio_read_args", "%s(%#x)", NULL, NULL }, +{ 579, "aio_readv_args", "%s(%#x)", NULL, NULL }, +{ 314, "aio_return_args", "%s(%#x)", NULL, NULL }, +{ 315, "aio_suspend_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 359, "aio_waitcomplete_args", "%s(%#x, %#x)", NULL, NULL }, +{ 256, "aio_write_args", "%s(%#x)", NULL, NULL }, +{ 578, "aio_writev_args", "%s(%#x)", NULL, NULL }, +{ 445, "audit_args", "%s(%#x, %#x)", NULL, NULL }, +{ 453, "auditctl_args", "%s(%#x)", NULL, NULL }, +{ 446, "auditon_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 104, "bind_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 538, "bindat_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 17, "break_args", "%s(%s)", NULL, NULL }, +{ 516, "cap_enter_args", NULL, NULL, NULL }, +{ 537, "cap_fcntls_get_args", "%s(%#x, %#x)", NULL, NULL }, +{ 536, "cap_fcntls_limit_args", "%s(%#x, %#x)", NULL, NULL }, +{ 517, "cap_getmode_args", "%s(%#x)", NULL, NULL }, +{ 535, "cap_ioctls_get_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 534, "cap_ioctls_limit_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 533, "cap_rights_limit_args", "%s(%#x, %#x)", NULL, NULL }, +{ 12, "chdir_args", "%s(%#x)", NULL, NULL }, +{ 34, "chflags_args", "%s(%#x, %#x)", NULL, NULL }, +{ 540, "chflagsat_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 15, "chmod_args", "%s(%#x, %o)", NULL, NULL }, +{ 16, "chown_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 61, "chroot_args", "%s(%#x)", NULL, NULL }, +{ 247, "clock_getcpuclockid2_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 234, "clock_getres_args", "%s(%#x, %#x)", NULL, NULL }, +{ 232, "clock_gettime_args", "%s(%#x, %#x)", NULL, NULL }, +{ 244, "clock_nanosleep_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 233, "clock_settime_args", "%s(%#x, %#x)", NULL, NULL }, +{ 6, "close_args", "%s(%#x)", NULL, NULL }, +{ 575, "close_range_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 98, "connect_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 539, "connectat_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 569, "copy_file_range_args", "%s(%#x, %#x, %#x, %#x, %#x, %#x)", NULL, N= ULL }, +{ 484, "cpuset_args", "%s(%#x)", NULL, NULL }, +{ 487, "cpuset_getaffinity_args", "%s(%#x, %#x, %#x, %#x, %#x)", NULL, NUL= L }, +{ 561, "cpuset_getdomain_args", "%s(%#x, %#x, %#x, %#x, %#x, %#x)", NULL, = NULL }, +{ 486, "cpuset_getid_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 488, "cpuset_setaffinity_args", "%s(%#x, %#x, %#x, %#x, %#x)", NULL, NUL= L }, +{ 562, "cpuset_setdomain_args", "%s(%#x, %#x, %#x, %#x, %#x, %#x)", NULL, = NULL }, +{ 485, "cpuset_setid_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 90, "dup2_args", "%s(%#x, %#x)", NULL, NULL }, +{ 41, "dup_args", "%s(%#x)", NULL, NULL }, +{ 376, "eaccess_args", "%s(%#x, %#x)", NULL, NULL }, +{ 59, "execve_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 373, "extattr_delete_fd_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 358, "extattr_delete_file_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 414, "extattr_delete_link_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 372, "extattr_get_fd_args", "%s(%#x, %#x, %#x, %#x, %#x)", NULL, NULL }, +{ 357, "extattr_get_file_args", "%s(%#x, %#x, %#x, %#x, %#x)", NULL, NULL = }, +{ 413, "extattr_get_link_args", "%s(%#x, %#x, %#x, %#x, %#x)", NULL, NULL = }, +{ 437, "extattr_list_fd_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 438, "extattr_list_file_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 439, "extattr_list_link_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 371, "extattr_set_fd_args", "%s(%#x, %#x, %#x, %#x, %#x)", NULL, NULL }, +{ 356, "extattr_set_file_args", "%s(%#x, %#x, %#x, %#x, %#x)", NULL, NULL = }, +{ 412, "extattr_set_link_args", "%s(%#x, %#x, %#x, %#x, %#x)", NULL, NULL = }, +{ 355, "extattrctl_args", "%s(%#x, %#x, %#x, %#x, %#x)", NULL, NULL }, +{ 592, "exterrctl_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 489, "faccessat_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 13, "fchdir_args", "%s(%#x)", NULL, NULL }, +{ 35, "fchflags_args", "%s(%#x, %#x)", NULL, NULL }, +{ 124, "fchmod_args", "%s(%#x, %o)", NULL, NULL }, +{ 490, "fchmodat_args", "%s(%#x, %#x, %o, %#x)", NULL, NULL }, +{ 123, "fchown_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 491, "fchownat_args", "%s(%#x, %#x, %#x, %#x, %#x)", NULL, NULL }, +{ 590, "fchroot_args", "%s(%#x)", NULL, NULL }, +{ 92, "fcntl_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 550, "fdatasync_args", "%s(%#x)", NULL, NULL }, +{ 492, "fexecve_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 241, "ffclock_getcounter_args", "%s(%#x)", NULL, NULL }, +{ 243, "ffclock_getestimate_args", "%s(%#x)", NULL, NULL }, +{ 242, "ffclock_setestimate_args", "%s(%#x)", NULL, NULL }, +{ 565, "fhlink_args", "%s(%#x, %#x)", NULL, NULL }, +{ 566, "fhlinkat_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 298, "fhopen_args", "%s(%#x, %#x)", NULL, NULL }, +{ 567, "fhreadlink_args", "%s(%#x, %s, %#x)", NULL, NULL }, +{ 553, "fhstat_args", "%s(%#x, %#x)", NULL, NULL }, +{ 558, "fhstatfs_args", "%s(%#x, %#x)", NULL, NULL }, +{ 131, "flock_args", "%s(%#x, %#x)", NULL, NULL }, +{ 2, "fork_args", NULL, NULL, NULL }, +{ 192, "fpathconf_args", "%s(%#x, %#x)", NULL, NULL }, +{ 434, "freebsd10__umtx_lock_args", "%s(%#x)", NULL, NULL }, +{ 435, "freebsd10__umtx_unlock_args", "%s(%#x)", NULL, NULL }, +{ 42, "freebsd10_pipe_args", NULL, NULL, NULL }, +{ 299, "freebsd11_fhstat_args", "%s(%#x, %#x)", NULL, NULL }, +{ 398, "freebsd11_fhstatfs_args", "%s(%#x, %#x)", NULL, NULL }, +{ 189, "freebsd11_fstat_args", "%s(%#x, %#x)", NULL, NULL }, +{ 493, "freebsd11_fstatat_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 397, "freebsd11_fstatfs_args", "%s(%#x, %#x)", NULL, NULL }, +{ 272, "freebsd11_getdents_args", "%s(%#x, %s, %#x)", NULL, NULL }, +{ 196, "freebsd11_getdirentries_args", "%s(%#x, %s, %#x, %#x)", NULL, NULL= }, +{ 395, "freebsd11_getfsstat_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 363, "freebsd11_kevent_args", "%s(%#x, %#x, %#x, %#x, %#x, %#x)", NULL, = NULL }, +{ 190, "freebsd11_lstat_args", "%s(%#x, %#x)", NULL, NULL }, +{ 14, "freebsd11_mknod_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 498, "freebsd11_mknodat_args", "%s(%#x, %#x, %o, %#x)", NULL, NULL }, +{ 279, "freebsd11_nfstat_args", "%s(%#x, %#x)", NULL, NULL }, +{ 280, "freebsd11_nlstat_args", "%s(%#x, %#x)", NULL, NULL }, +{ 278, "freebsd11_nstat_args", "%s(%#x, %#x)", NULL, NULL }, +{ 188, "freebsd11_stat_args", "%s(%#x, %#x)", NULL, NULL }, +{ 396, "freebsd11_statfs_args", "%s(%#x, %#x)", NULL, NULL }, +{ 72, "freebsd11_vadvise_args", "%s(%#x)", NULL, NULL }, +{ 509, "freebsd12_closefrom_args", "%s(%#x)", NULL, NULL }, +{ 482, "freebsd12_shm_open_args", "%s(%#x, %#x, %o)", NULL, NULL }, +{ 424, "freebsd13_swapoff_args", "%s(%#x)", NULL, NULL }, +{ 79, "freebsd14_getgroups_args", "%s(%#x, %#x)", NULL, NULL }, +{ 80, "freebsd14_setgroups_args", "%s(%#x, %#x)", NULL, NULL }, +{ 580, "fspacectl_args", "%s(%#x, %#x, %#x, %#x, %#x)", NULL, NULL }, +{ 551, "fstat_args", "%s(%#x, %#x)", NULL, NULL }, +{ 552, "fstatat_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 556, "fstatfs_args", "%s(%#x, %#x)", NULL, NULL }, +{ 95, "fsync_args", "%s(%#x)", NULL, NULL }, +{ 480, "ftruncate_args", "%s(%#x, %#x)", NULL, NULL }, +{ 568, "funlinkat_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 546, "futimens_args", "%s(%#x, %#x)", NULL, NULL }, +{ 206, "futimes_args", "%s(%#x, %#x)", NULL, NULL }, +{ 494, "futimesat_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 451, "getaudit_addr_args", "%s(%#x, %#x)", NULL, NULL }, +{ 449, "getaudit_args", "%s(%#x)", NULL, NULL }, +{ 447, "getauid_args", "%s(%#x)", NULL, NULL }, +{ 421, "getcontext_args", "%s(%#x)", NULL, NULL }, +{ 554, "getdirentries_args", "%s(%#x, %s, %#x, %#x)", NULL, NULL }, +{ 89, "getdtablesize_args", NULL, NULL, NULL }, +{ 43, "getegid_args", NULL, NULL, NULL }, +{ 25, "geteuid_args", NULL, NULL, NULL }, +{ 161, "getfh_args", "%s(%#x, %#x)", NULL, NULL }, +{ 564, "getfhat_args", "%s(%#x, %s, %#x, %#x)", NULL, NULL }, +{ 557, "getfsstat_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 47, "getgid_args", NULL, NULL, NULL }, +{ 595, "getgroups_args", "%s(%#x, %#x)", NULL, NULL }, +{ 86, "getitimer_args", "%s(%#x, %#x)", NULL, NULL }, +{ 49, "getlogin_args", "%s(%s, %#x)", NULL, NULL }, +{ 523, "getloginclass_args", "%s(%s, %#x)", NULL, NULL }, +{ 31, "getpeername_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 207, "getpgid_args", "%s(%#x)", NULL, NULL }, +{ 81, "getpgrp_args", NULL, NULL, NULL }, +{ 20, "getpid_args", NULL, NULL, NULL }, +{ 39, "getppid_args", NULL, NULL, NULL }, +{ 100, "getpriority_args", "%s(%#x, %#x)", NULL, NULL }, +{ 563, "getrandom_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 361, "getresgid_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 360, "getresuid_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 194, "getrlimit_args", "%s(%#x, %#x)", NULL, NULL }, +{ 589, "getrlimitusage_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 117, "getrusage_args", "%s(%#x, %#x)", NULL, NULL }, +{ 310, "getsid_args", "%s(%#x)", NULL, NULL }, +{ 32, "getsockname_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 118, "getsockopt_args", "%s(%#x, %#x, %#x, %#x, %#x)", NULL, NULL }, +{ 116, "gettimeofday_args", "%s(%#x, %#x)", NULL, NULL }, +{ 24, "getuid_args", NULL, NULL, NULL }, +{ 593, "inotify_add_watch_at_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 594, "inotify_rm_watch_args", "%s(%#x, %#x)", NULL, NULL }, +{ 54, "ioctl_args", "%s(%#x, %#x, %s)", NULL, NULL }, +{ 253, "issetugid_args", NULL, NULL, NULL }, +{ 338, "jail_args", "%s(%#x)", NULL, NULL }, +{ 436, "jail_attach_args", "%s(%#x)", NULL, NULL }, +{ 597, "jail_attach_jd_args", "%s(%#x)", NULL, NULL }, +{ 506, "jail_get_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 508, "jail_remove_args", "%s(%#x)", NULL, NULL }, +{ 598, "jail_remove_jd_args", "%s(%#x)", NULL, NULL }, +{ 507, "jail_set_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 588, "kcmp_args", "%s(%#x, %#x, %#x, %#x, %#x)", NULL, NULL }, +{ 390, "kenv_args", "%s(%#x, %#x, %s, %#x)", NULL, NULL }, +{ 560, "kevent_args", "%s(%#x, %#x, %#x, %#x, %#x, %#x)", NULL, NULL }, +{ 599, "kexec_load_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 37, "kill_args", "%s(%#x, %#x)", NULL, NULL }, +{ 306, "kldfind_args", "%s(%#x)", NULL, NULL }, +{ 309, "kldfirstmod_args", "%s(%#x)", NULL, NULL }, +{ 304, "kldload_args", "%s(%#x)", NULL, NULL }, +{ 307, "kldnext_args", "%s(%#x)", NULL, NULL }, +{ 308, "kldstat_args", "%s(%#x, %#x)", NULL, NULL }, +{ 337, "kldsym_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 305, "kldunload_args", "%s(%#x)", NULL, NULL }, +{ 444, "kldunloadf_args", "%s(%#x, %#x)", NULL, NULL }, +{ 461, "kmq_notify_args", "%s(%#x, %#x)", NULL, NULL }, +{ 457, "kmq_open_args", "%s(%#x, %#x, %o, %#x)", NULL, NULL }, +{ 458, "kmq_setattr_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 459, "kmq_timedreceive_args", "%s(%#x, %s, %#x, %#x, %#x)", NULL, NULL }, +{ 460, "kmq_timedsend_args", "%s(%#x, %#x, %#x, %#x, %#x)", NULL, NULL }, +{ 462, "kmq_unlink_args", "%s(%#x)", NULL, NULL }, +{ 362, "kqueue_args", NULL, NULL, NULL }, +{ 583, "kqueuex_args", "%s(%#x)", NULL, NULL }, +{ 400, "ksem_close_args", "%s(%#x)", NULL, NULL }, +{ 408, "ksem_destroy_args", "%s(%#x)", NULL, NULL }, +{ 407, "ksem_getvalue_args", "%s(%#x, %#x)", NULL, NULL }, +{ 404, "ksem_init_args", "%s(%#x, %#x)", NULL, NULL }, +{ 405, "ksem_open_args", "%s(%#x, %#x, %#x, %o, %#x)", NULL, NULL }, +{ 401, "ksem_post_args", "%s(%#x)", NULL, NULL }, +{ 441, "ksem_timedwait_args", "%s(%#x, %#x)", NULL, NULL }, +{ 403, "ksem_trywait_args", "%s(%#x)", NULL, NULL }, +{ 406, "ksem_unlink_args", "%s(%#x)", NULL, NULL }, +{ 402, "ksem_wait_args", "%s(%#x)", NULL, NULL }, +{ 235, "ktimer_create_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 236, "ktimer_delete_args", "%s(%#x)", NULL, NULL }, +{ 239, "ktimer_getoverrun_args", "%s(%#x)", NULL, NULL }, +{ 238, "ktimer_gettime_args", "%s(%#x, %#x)", NULL, NULL }, +{ 237, "ktimer_settime_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 45, "ktrace_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 391, "lchflags_args", "%s(%#x, %#x)", NULL, NULL }, +{ 274, "lchmod_args", "%s(%#x, %o)", NULL, NULL }, +{ 254, "lchown_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 160, "lgetfh_args", "%s(%#x, %#x)", NULL, NULL }, +{ 9, "link_args", "%s(%#x, %#x)", NULL, NULL }, +{ 495, "linkat_args", "%s(%#x, %#x, %#x, %#x, %#x)", NULL, NULL }, +{ 257, "lio_listio_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 106, "listen_args", "%s(%#x, %#x)", NULL, NULL }, +{ 513, "lpathconf_args", "%s(%#x, %#x)", NULL, NULL }, +{ 478, "lseek_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 276, "lutimes_args", "%s(%#x, %#x)", NULL, NULL }, +{ 394, "mac_syscall_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 75, "madvise_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 584, "membarrier_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 78, "mincore_args", "%s(%#x, %#x, %s)", NULL, NULL }, +{ 250, "minherit_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 136, "mkdir_args", "%s(%#x, %o)", NULL, NULL }, +{ 496, "mkdirat_args", "%s(%#x, %#x, %o)", NULL, NULL }, +{ 132, "mkfifo_args", "%s(%#x, %o)", NULL, NULL }, +{ 497, "mkfifoat_args", "%s(%#x, %#x, %o)", NULL, NULL }, +{ 559, "mknodat_args", "%s(%#x, %#x, %o, %#x)", NULL, NULL }, +{ 203, "mlock_args", "%s(%#x, %#x)", NULL, NULL }, +{ 324, "mlockall_args", "%s(%#x)", NULL, NULL }, +{ 477, "mmap_args", "%s(%#x, %#x, %#x, %#x, %#x, %#x)", NULL, NULL }, +{ 303, "modfind_args", "%s(%#x)", NULL, NULL }, +{ 302, "modfnext_args", "%s(%#x)", NULL, NULL }, +{ 300, "modnext_args", "%s(%#x)", NULL, NULL }, +{ 301, "modstat_args", "%s(%#x, %#x)", NULL, NULL }, +{ 21, "mount_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 74, "mprotect_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 511, "msgctl_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 225, "msgget_args", "%s(%#x, %#x)", NULL, NULL }, +{ 227, "msgrcv_args", "%s(%#x, %#x, %#x, %#x, %#x)", NULL, NULL }, +{ 226, "msgsnd_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 170, "msgsys_args", "%s(%#x, %#x, %#x, %#x, %#x, %#x)", NULL, NULL }, +{ 65, "msync_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 204, "munlock_args", "%s(%#x, %#x)", NULL, NULL }, +{ 325, "munlockall_args", NULL, NULL, NULL }, +{ 73, "munmap_args", "%s(%#x, %#x)", NULL, NULL }, +{ 240, "nanosleep_args", "%s(%#x, %#x)", NULL, NULL }, +{ 155, "nfssvc_args", "%s(%#x, %#x)", NULL, NULL }, +{ 154, "nlm_syscall_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 378, "nmount_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 339, "nnpfs_syscall_args", "%s(%#x, %s, %#x, %#x, %#x)", NULL, NULL }, +{ 176, "ntp_adjtime_args", "%s(%#x)", NULL, NULL }, +{ 248, "ntp_gettime_args", "%s(%#x)", NULL, NULL }, +{ 5, "open_args", "%s(%#x, %#x, %o)", NULL, NULL }, +{ 499, "openat_args", "%s(%#x, %#x, %#x, %o)", NULL, NULL }, +{ 191, "pathconf_args", "%s(%#x, %#x)", NULL, NULL }, +{ 518, "pdfork_args", "%s(%#x, %#x)", NULL, NULL }, +{ 520, "pdgetpid_args", "%s(%#x, %#x)", NULL, NULL }, +{ 519, "pdkill_args", "%s(%#x, %#x)", NULL, NULL }, +{ 600, "pdrfork_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 601, "pdwait_args", "%s(%#x, %#x, %#x, %#x, %#x)", NULL, NULL }, +{ 542, "pipe2_args", "%s(%#x, %#x)", NULL, NULL }, +{ 209, "poll_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 531, "posix_fadvise_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 530, "posix_fallocate_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 504, "posix_openpt_args", "%s(%#x)", NULL, NULL }, +{ 545, "ppoll_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 475, "pread_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 289, "preadv_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 544, "procctl_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 44, "profil_args", "%s(%s, %#x, %#x, %#x)", NULL, NULL }, +{ 522, "pselect_args", "%s(%#x, %#x, %#x, %#x, %#x, %#x)", NULL, NULL }, +{ 26, "ptrace_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 476, "pwrite_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 290, "pwritev_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 148, "quotactl_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 528, "rctl_add_rule_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 527, "rctl_get_limits_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 525, "rctl_get_racct_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 526, "rctl_get_rules_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 529, "rctl_remove_rule_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 3, "read_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 58, "readlink_args", "%s(%#x, %s, %#x)", NULL, NULL }, +{ 500, "readlinkat_args", "%s(%#x, %#x, %s, %#x)", NULL, NULL }, +{ 120, "readv_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 55, "reboot_args", "%s(%#x)", NULL, NULL }, +{ 29, "recvfrom_args", "%s(%#x, %#x, %#x, %#x, %#x, %#x)", NULL, NULL }, +{ 27, "recvmsg_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 128, "rename_args", "%s(%#x, %#x)", NULL, NULL }, +{ 602, "renameat2_args", "%s(%#x, %#x, %#x, %#x, %#x)", NULL, NULL }, +{ 501, "renameat_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 56, "revoke_args", "%s(%#x)", NULL, NULL }, +{ 251, "rfork_args", "%s(%#x)", NULL, NULL }, +{ 137, "rmdir_args", "%s(%#x)", NULL, NULL }, +{ 576, "rpctls_syscall_args", "%s(%#x)", NULL, NULL }, +{ 166, "rtprio_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 466, "rtprio_thread_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 332, "sched_get_priority_max_args", "%s(%#x)", NULL, NULL }, +{ 333, "sched_get_priority_min_args", "%s(%#x)", NULL, NULL }, +{ 581, "sched_getcpu_args", NULL, NULL, NULL }, +{ 328, "sched_getparam_args", "%s(%#x, %#x)", NULL, NULL }, +{ 330, "sched_getscheduler_args", "%s(%#x)", NULL, NULL }, +{ 334, "sched_rr_get_interval_args", "%s(%#x, %#x)", NULL, NULL }, +{ 327, "sched_setparam_args", "%s(%#x, %#x)", NULL, NULL }, +{ 329, "sched_setscheduler_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 331, "sched_yield_args", NULL, NULL, NULL }, +{ 474, "sctp_generic_recvmsg_args", "%s(%#x, %#x, %#x, %#x, %#x, %#x, %#x)= ", NULL, NULL }, +{ 472, "sctp_generic_sendmsg_args", "%s(%#x, %#x, %#x, %#x, %#x, %#x, %#x)= ", NULL, NULL }, +{ 473, "sctp_generic_sendmsg_iov_args", "%s(%#x, %#x, %#x, %#x, %#x, %#x, = %#x)", NULL, NULL }, +{ 471, "sctp_peeloff_args", "%s(%#x, %#x)", NULL, NULL }, +{ 93, "select_args", "%s(%#x, %#x, %#x, %#x, %#x)", NULL, NULL }, +{ 221, "semget_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 222, "semop_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 169, "semsys_args", "%s(%#x, %#x, %#x, %#x, %#x)", NULL, NULL }, +{ 393, "sendfile_args", "%s(%#x, %#x, %#x, %#x, %#x, %#x, %#x)", NULL, NUL= L }, +{ 28, "sendmsg_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 133, "sendto_args", "%s(%#x, %#x, %#x, %#x, %#x, %#x)", NULL, NULL }, +{ 452, "setaudit_addr_args", "%s(%#x, %#x)", NULL, NULL }, +{ 450, "setaudit_args", "%s(%#x)", NULL, NULL }, +{ 448, "setauid_args", "%s(%#x)", NULL, NULL }, +{ 422, "setcontext_args", "%s(%#x)", NULL, NULL }, +{ 591, "setcred_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 182, "setegid_args", "%s(%#x)", NULL, NULL }, +{ 183, "seteuid_args", "%s(%#x)", NULL, NULL }, +{ 175, "setfib_args", "%s(%#x)", NULL, NULL }, +{ 181, "setgid_args", "%s(%#x)", NULL, NULL }, +{ 596, "setgroups_args", "%s(%#x, %#x)", NULL, NULL }, +{ 83, "setitimer_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 50, "setlogin_args", "%s(%#x)", NULL, NULL }, +{ 524, "setloginclass_args", "%s(%#x)", NULL, NULL }, +{ 82, "setpgid_args", "%s(%#x, %#x)", NULL, NULL }, +{ 96, "setpriority_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 127, "setregid_args", "%s(%#x, %#x)", NULL, NULL }, +{ 312, "setresgid_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 311, "setresuid_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 126, "setreuid_args", "%s(%#x, %#x)", NULL, NULL }, +{ 195, "setrlimit_args", "%s(%#x, %#x)", NULL, NULL }, +{ 147, "setsid_args", NULL, NULL, NULL }, +{ 105, "setsockopt_args", "%s(%#x, %#x, %#x, %#x, %#x)", NULL, NULL }, +{ 122, "settimeofday_args", "%s(%#x, %#x)", NULL, NULL }, +{ 23, "setuid_args", "%s(%#x)", NULL, NULL }, +{ 571, "shm_open2_args", "%s(%#x, %#x, %o, %#x, %#x)", NULL, NULL }, +{ 572, "shm_rename_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 483, "shm_unlink_args", "%s(%#x)", NULL, NULL }, +{ 228, "shmat_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 512, "shmctl_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 230, "shmdt_args", "%s(%#x)", NULL, NULL }, +{ 231, "shmget_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 171, "shmsys_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 134, "shutdown_args", "%s(%#x, %#x)", NULL, NULL }, +{ 416, "sigaction_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 53, "sigaltstack_args", "%s(%#x, %#x)", NULL, NULL }, +{ 573, "sigfastblock_args", "%s(%#x, %#x)", NULL, NULL }, +{ 343, "sigpending_args", "%s(%#x)", NULL, NULL }, +{ 340, "sigprocmask_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 456, "sigqueue_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 417, "sigreturn_args", "%s(%#x)", NULL, NULL }, +{ 341, "sigsuspend_args", "%s(%#x)", NULL, NULL }, +{ 345, "sigtimedwait_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 429, "sigwait_args", "%s(%#x, %#x)", NULL, NULL }, +{ 346, "sigwaitinfo_args", "%s(%#x, %#x)", NULL, NULL }, +{ 97, "socket_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 135, "socketpair_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 555, "statfs_args", "%s(%#x, %#x)", NULL, NULL }, +{ 423, "swapcontext_args", "%s(%#x, %#x)", NULL, NULL }, +{ 582, "swapoff_args", "%s(%#x, %#x)", NULL, NULL }, +{ 85, "swapon_args", "%s(%#x)", NULL, NULL }, +{ 57, "symlink_args", "%s(%#x, %#x)", NULL, NULL }, +{ 502, "symlinkat_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 36, "sync_args", NULL, NULL, NULL }, +{ 165, "sysarch_args", "%s(%#x, %s)", NULL, NULL }, +{ 430, "thr_create_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 431, "thr_exit_args", "%s(%#x)", NULL, NULL }, +{ 481, "thr_kill2_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 433, "thr_kill_args", "%s(%#x, %#x)", NULL, NULL }, +{ 455, "thr_new_args", "%s(%#x, %#x)", NULL, NULL }, +{ 432, "thr_self_args", "%s(%#x)", NULL, NULL }, +{ 464, "thr_set_name_args", "%s(%#x, %#x)", NULL, NULL }, +{ 442, "thr_suspend_args", "%s(%#x)", NULL, NULL }, +{ 443, "thr_wake_args", "%s(%#x)", NULL, NULL }, +{ 585, "timerfd_create_args", "%s(%#x, %#x)", NULL, NULL }, +{ 586, "timerfd_gettime_args", "%s(%#x, %#x)", NULL, NULL }, +{ 587, "timerfd_settime_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 479, "truncate_args", "%s(%#x, %#x)", NULL, NULL }, +{ 60, "umask_args", "%s(%o)", NULL, NULL }, +{ 205, "undelete_args", "%s(%#x)", NULL, NULL }, +{ 10, "unlink_args", "%s(%#x)", NULL, NULL }, +{ 503, "unlinkat_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 22, "unmount_args", "%s(%#x, %#x)", NULL, NULL }, +{ 547, "utimensat_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 138, "utimes_args", "%s(%#x, %#x)", NULL, NULL }, +{ 335, "utrace_args", "%s(%#x, %#x)", NULL, NULL }, +{ 392, "uuidgen_args", "%s(%#x, %#x)", NULL, NULL }, +{ 66, "vfork_args", NULL, NULL, NULL }, +{ 7, "wait4_args", "%s(%#x, %#x, %#x, %#x)", NULL, NULL }, +{ 532, "wait6_args", "%s(%#x, %#x, %#x, %#x, %#x, %#x)", NULL, NULL }, +{ 4, "write_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 121, "writev_args", "%s(%#x, %#x, %#x)", NULL, NULL }, +{ 321, "yield_args", NULL, NULL, NULL }, --=20 2.52.0