From patchwork Wed Sep 11 12:13:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 827423 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp766755wrc; Wed, 11 Sep 2024 05:27:20 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWrPeKIZ5Mmiti3MQQkA5CHsCCmKT3bziy+5n2u6Pmgin/brYWqm4Ld+P+aj8Esz8QQbcQEPA==@linaro.org X-Google-Smtp-Source: AGHT+IEp/VPqiWX2VKJlW8gk3GDGbJ0uRQ+QFTXg7Z4rHeIlIsAFPrgKN8SZdaksLxaCZvgsLRdw X-Received: by 2002:a05:6214:468a:b0:6c5:4e4a:cb9a with SMTP id 6a1803df08f44-6c54e4acbecmr151139186d6.10.1726057639974; Wed, 11 Sep 2024 05:27:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726057639; cv=none; d=google.com; s=arc-20240605; b=Xd4B+6GUakB1m70L4nqr6r4NHoLX62xKwgxOGUM/HkanrQC+qrrHeBf/y8IgGU7L8A qgJk0BcnFLgCkt17qJ7c8uuksLYL8vkIAxDJA48QE3dT5MktFO4If1oEelidYKM9rBfH wj8bUNjwUE4iHGBIbEWCBwW3pIJO0AjtaMtUe4Oa91lF9v50F4BApnPHKHwl8L6UThLw J2/2XZConctq5vYsR8W+Bfr6CpOabhpA59oANLtI6zfZq1VZ6Uu1uoMlTyye76F6jcwf q0NzKsmmXHgFmniILP2Lfw96V30h2M3bYZglvfUhI3P528By0WnaztdAcuR0LQu9ir+5 PhcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=m4I+NOD0wib/I9pEA/OFAtVljb4eFRTvTggSagE3YZw=; fh=3cYl7IL8YQAQ5gPuEGdfjVaJRpw2AREjJCEfnPLD1fY=; b=IT/nyKnHX1u23L7AcAqtRDX7dKK7lfYWH/z3yDSFGVLcPb1DrREFEMXND5i9pXnGkP jGd5tZYOfdvv25X5OFLJsiraBGDT6rPSpujZd2yffvKBvxacC95lv9CPxcQ+72SdAR11 nmNDqiTlq+iqf9Es8s1fqv3hOiipd+xLYErBYiINc/HB6GaUVxKw/V5SL+H3sMZt6wBa FInfToCXjWw1JVfgaGhoWzxP25MDDIYtZvYj0HFcx+cJSpmyCNkj33jTv+SsqjeDt9tM TwPI7eCKoFlGTMrckmsNdNWD0kyHLukAT2uoaM0N050YhNp5JLo7T3NX3urSRO82q+Ch Wz7g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dRuK0qY+; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6c53476f9b2si102022496d6.250.2024.09.11.05.27.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Sep 2024 05:27:19 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dRuK0qY+; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1soMIO-000202-Id; Wed, 11 Sep 2024 08:18:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1soMHG-0007Ay-6G for qemu-devel@nongnu.org; Wed, 11 Sep 2024 08:17:11 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1soMHB-0007WT-6I for qemu-devel@nongnu.org; Wed, 11 Sep 2024 08:16:50 -0400 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-374c962e5adso547357f8f.1 for ; Wed, 11 Sep 2024 05:16:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726057007; x=1726661807; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=m4I+NOD0wib/I9pEA/OFAtVljb4eFRTvTggSagE3YZw=; b=dRuK0qY+wBFICSNS/84Hd/dQIOcxCiNyF08zCcjsA//g3GikAeCqX4d7C4dWME2mSo O2aovxjLh3/q3eDl669KQ4sJY7F6QQGe2Q5Ryb2p9hCxDT7Rpd4uFF49xNzZ9cc/JVtb PRiMkL6gJ9OUDDEhtN7a0RVgOgS5NJQWTT/+H0O0KZne/o3mwWj9tTmYTrpx3pJJlivH 89zGWPAM+zUTtKQGcDFmmrxgnlElYpU6sPLrFxp1ZD84sKpHLfUTEOfINfUQBgC6bIFx EQhdvVT87DzKlPRNmnCcbYF4zK/oudStPLqi7313gZkQaD9SqFqnKb0QfvVGMXZoj2tO wKXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726057007; x=1726661807; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=m4I+NOD0wib/I9pEA/OFAtVljb4eFRTvTggSagE3YZw=; b=tQE4HHoWxpmCYvIPXFV/clTncCO3ZLJpkppjj3OeJWSaXpvCaXi3aEkbPq9ICk7GTv m5MDdCa22yCdk5gLCQ1iwiOXQyt2wtpz+Wwg5lXbUy+GXkVbptlNmniVIoytcPs3VzM4 f6L/OvZ2RtU5NPM2fC3wF50N/y1b5u6toC//hNA6m8KCCSGMEOuvnJglOfy0sXO2eF13 U/whH0SusWoTrnq1NySUzdTwXKdc0CdQLFV4B58hxQQSW89+ybrmB+AtzroIpKLhzNND 0lkQ+zBGInLp4WgiBfhO7a+7ey1rdt+tNu+pmN0RXpqUsZr8vM2U/WzethVxwljXSdLE 5Gwg== X-Gm-Message-State: AOJu0YxfOQ5OguuYTiRpb6ESi+xw90jotX04Y6OGJjgHFh5jG0P+WrHk Yr9MUjA6IGhiYn2f7e0Skg12St5teapjBUL5o7b/ozYGr94vNt0xxPjqfqjqE5SfK6L2wCHZ/mx z X-Received: by 2002:a5d:5f87:0:b0:374:c400:8556 with SMTP id ffacd0b85a97d-378a8a1b6a6mr4856670f8f.11.1726057007001; Wed, 11 Sep 2024 05:16:47 -0700 (PDT) Received: from m1x-phil.lan ([176.187.196.107]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-378956d374fsm11482382f8f.86.2024.09.11.05.16.45 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 11 Sep 2024 05:16:46 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Thomas Huth , Richard Henderson , "Edgar E . Iglesias" Subject: [PULL 20/56] seccomp: Remove check for CRIS host Date: Wed, 11 Sep 2024 14:13:45 +0200 Message-ID: <20240911121422.52585-21-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240911121422.52585-1-philmd@linaro.org> References: <20240911121422.52585-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=philmd@linaro.org; helo=mail-wr1-x42f.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org As per the deprecation notice in commit c7bbef4023: The CRIS architecture was pulled from Linux in 4.17 and the compiler is no longer packaged in any distro [...]. It is now unlikely QEMU is build on CRIS host. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Richard Henderson Acked-by: Edgar E. Iglesias Message-ID: <20240904143603.52934-16-philmd@linaro.org> --- system/qemu-seccomp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/qemu-seccomp.c b/system/qemu-seccomp.c index 98ffce075c..71ac444802 100644 --- a/system/qemu-seccomp.c +++ b/system/qemu-seccomp.c @@ -47,10 +47,10 @@ const struct scmp_arg_cmp sched_setscheduler_arg[] = { }; /* - * See 'NOTES' in 'man 2 clone' - s390 & cross have 'flags' in + * See 'NOTES' in 'man 2 clone' - s390 has 'flags' in * different position to other architectures */ -#if defined(HOST_S390X) || defined(HOST_S390) || defined(HOST_CRIS) +#if defined(HOST_S390X) || defined(HOST_S390) #define CLONE_FLAGS_ARG 1 #else #define CLONE_FLAGS_ARG 0