From patchwork Mon Dec 28 08:14:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David CARLIER X-Patchwork-Id: 11990915 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,UNWANTED_LANGUAGE_BODY,UPPERCASE_50_75 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0BB55C433E0 for ; Mon, 28 Dec 2020 08:16:32 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A3CBE2245C for ; Mon, 28 Dec 2020 08:16:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A3CBE2245C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:41146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktnhe-00019y-Mx for qemu-devel@archiver.kernel.org; Mon, 28 Dec 2020 03:16:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58274) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktngB-00005z-Uy; Mon, 28 Dec 2020 03:14:59 -0500 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]:40664) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ktngA-0004kz-Bb; Mon, 28 Dec 2020 03:14:59 -0500 Received: by mail-ej1-x62c.google.com with SMTP id x16so13212662ejj.7; Mon, 28 Dec 2020 00:14:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=BjB2kfCb9GFsRopJ/P6iE8ClJI9dh3lRoLxLzjvEO4w=; b=FHZlb45CN2lfXuRbxst3YZcZb5KlsLRTHxuM+6fdNq0koLLaLlTl5mh/b99QmVN0Ui 7x/Cllc6wfdMcxO6dLDK3ANkX6PvC04c5Dp58xCLdO6f0pyWmo3UsczGJpCQt3Zg+SMo S/y3KOwvYze96ST+SPqNsBmhnvVbyaVhdeT31wi3ABfMCGfSde21X456K8Faz6+XzobM XsIL6zjyBNz29S//fNlQ99cSRU8dlZgPfbJ85nPwI1Bqr4LG4jZbtFOoCCLx6t1mtMTp pvpwg3h05fZS8pHoj7F7EkmGJ4CRJeub6sW0SxNE6li2bQQ87CD0UDVNdc40KfEObE9c HrrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=BjB2kfCb9GFsRopJ/P6iE8ClJI9dh3lRoLxLzjvEO4w=; b=gjHtFpABLEhRsDsLLFUxlvCgJQB4oWbU1y0PEuQoAKz3dkUxSL3vjBZrNijofem4OH w7ZtwM62/2lxvHmK/eUqGyddnF6vguYSKri5YivVlBVcrEfMcRC7LaX5G5lEgSKAS5Ac xF/g+x44UBRL40N1xolyQWJ3M3KhR682ugCj0LgfTOWJ+L2WqillmniivS1/B921VIQF w03wVWnV+lRvQbh8UIbw53K+OLLPw6NK4juxniDdNre5BWmdu4Nbul5qL9DYhcEC13gJ m39FDN+Ip6jOt4/EWqf0+JP/CqnFRsZEnHICvEohs1wBZJpuCbExbPS2Q/yCPAZqHKCF 6pbw== X-Gm-Message-State: AOAM530BTgv8XN9IFRaTZzlIzFvn1xfKN+ztAkRP4wbiRJ9l0krWKsMZ DpqLcuXWodXFA9Jzwmp4wq4i1OaJdVRL1jbTgigo9E8aEj03jg== X-Google-Smtp-Source: ABdhPJw7ybnaySpCZMCh873Se1j4xpPvw8u1ye4zjxWQ5gofi5XUlwqVwpdU41ucbrLKPpPSRLv15Kc/XHt7UzkrQzE= X-Received: by 2002:a17:906:d10f:: with SMTP id b15mr40294469ejz.268.1609143295795; Mon, 28 Dec 2020 00:14:55 -0800 (PST) MIME-Version: 1.0 From: David CARLIER Date: Mon, 28 Dec 2020 08:14:44 +0000 Message-ID: Subject: [PATCH 2/2] bsd-user, Adding more strace support for a handful of syscalls. To: qemu-devel , QEMU Trivial Received-SPF: pass client-ip=2a00:1450:4864:20::62c; envelope-from=devnexen@gmail.com; helo=mail-ej1-x62c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UPPERCASE_50_75=0.008 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" --- bsd-user/freebsd/strace.list | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/bsd-user/freebsd/strace.list b/bsd-user/freebsd/strace.list index 2800a2d4eb..136d2c42d7 100644 --- a/bsd-user/freebsd/strace.list +++ b/bsd-user/freebsd/strace.list @@ -38,6 +38,13 @@ { TARGET_FREEBSD_NR_adjtime, "adjtime", NULL, NULL, NULL }, { TARGET_FREEBSD_NR_bind, "bind", 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_chmod, "chmod", "%s(\"%s\",%#o)", NULL, NULL }, @@ -48,6 +55,8 @@ { 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_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 }, @@ -148,6 +157,8 @@ { TARGET_FREEBSD_NR_pathconf, "pathconf", "%s(\"%s\", %d)", NULL, NULL }, { TARGET_FREEBSD_NR_pipe, "pipe", NULL, NULL, NULL }, { TARGET_FREEBSD_NR_poll, "poll", NULL, NULL, NULL }, +{ TARGET_FREEBSD_NR_posix_fallocate, "posix_fallocate", NULL, NULL, NULL }, +{ TARGET_FREEBSD_NR_posix_openpt, "posix_openpt", 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 }, @@ -227,5 +238,6 @@ { TARGET_FREEBSD_NR_utimes, "utimes", NULL, NULL, NULL }, { TARGET_FREEBSD_NR_vfork, "vfork", NULL, NULL, NULL }, { TARGET_FREEBSD_NR_wait4, "wait4", NULL, NULL, NULL }, +{ TARGET_FREEBSD_NR_wait4, "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 },