Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1169867ybl; Wed, 28 Aug 2019 10:37:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqzipDXx3KCIdoXjA8uZFbsbjIjcOWtk8d9LqHl4vThRjRXaXMc0wsZTz9rg36xdrNpTkjvn X-Received: by 2002:a17:902:1e8:: with SMTP id b95mr5534817plb.28.1567013862752; Wed, 28 Aug 2019 10:37:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567013862; cv=none; d=google.com; s=arc-20160816; b=p/CZ6nCzDrHS3Y/S8hmUfZzBlAzqXfLvlM0B1IDqcEwlx8HTN+sMYlZSBqBbFaHLAM WW80SpeKr59zJJzN35cC7hclyhAeZ0cwKEwQYhJWeTnIQ2glxnuKHhJlIey8CIybP7bz JaoJQvT7JVUTdDJhj8tFC650aG2sb5sPDWP8JtmORUTv9uNRF3MOX8gVP57ox5JNsCDd C/jbL6A3HeYQB3cTvIxQsKnmdCxIsDT13nK4q7drxjePTwru8QVwjA/UwDik3vrxNrFR tm9/t5pL0d3Qr+l/yjGsnsCkUG/lM1tQWaDcgGdz2QD6ryMdftP/BWbwyMC/dtvoXfqT C4IA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=m0Ol9KiCJuTthVJpNdqXavAOI9ULv3o3m1zh5s9b1As=; b=O5SxDPAqar11//FLiwc5oJaPZBnkkwxGCRjOhw81DkGrE10XEyyDlUU4JythBfbmU0 RPSMeIWz4G/2qBe7NDiGxSNcY8UM8JK/xmcQ14jbKEFkds5NquBSEULQxMnpRGorIzAO 5sOrd4nuYTc6lgJ6OB0VhFyMoU3EDcHaURNJHUiknqAtRRBxJPjRwSSIUmbYmj/rbfXE VaWoJ67cNQLP5gvfLQjKXMTN2lWHjUxtEZWhD6bCikrY1SVdJBdOShJ4houzcfIsN1o5 Jw0CnO6mFkQz3xG6GkGo8lloG3Oz2+Hc6TsFIQB4HW8aaWXUhU3mMdsAyybMG1iwyzUK kmTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=oFW8k5sh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e14si3033070pfn.199.2019.08.28.10.37.26; Wed, 28 Aug 2019 10:37:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=oFW8k5sh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726763AbfH1Rg3 (ORCPT + 99 others); Wed, 28 Aug 2019 13:36:29 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:41788 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726975AbfH1Rg1 (ORCPT ); Wed, 28 Aug 2019 13:36:27 -0400 Received: by mail-pg1-f193.google.com with SMTP id x15so95979pgg.8 for ; Wed, 28 Aug 2019 10:36:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=m0Ol9KiCJuTthVJpNdqXavAOI9ULv3o3m1zh5s9b1As=; b=oFW8k5shx9dzTZCg4oYfKxxrESLsvpAIA5QCO3DOe5JfSNX5ICxHFKvHATbc9VgD3w 5+rVewSkK5+kiL+7lS0d7oAaUMKOuRqjYZaH4CxrLhIbqdMKdMJyL9TmnRR+lSFDhS+9 H/J3m1QfdE0eP7mou/vg7EAYza9c0CwIYY860= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=m0Ol9KiCJuTthVJpNdqXavAOI9ULv3o3m1zh5s9b1As=; b=Duo6ZM2ewpMH3NuEWS0SelFCjUDm5k60OKAC2xf87ON+QpHKSJZtnFG4PdDHEziMkm Nw6B/RiPBh0gv0DDzUFsEo4zUTCv+sMEzPeUVo0zq6kuGizVB4pDIf4sKyOq0z7606lA BUDFkgN4yW9cDc592LP6vVx96aGCU78b5GSMQ31GdjuTjkVxM05NKo4aA9pWgHAzt80b 6ZYPmVBhySHiZTnc2eSCgJMEiR9WuyiHaDrpUDHQEDeQWiJdLfX9TGB3GxGKJT3UoP7g N5SYllX0oxKGavvvL5MAMc/sbKSPz1phc2G4htEvDvpJEACfRmYgvT8aZg5LTIsK109s oxNw== X-Gm-Message-State: APjAAAV/Ck9P55kCtbPuTwTOuEsT7jSLB8vFH6lnpCM9fWZDJQm0D4Gp CqSjsHXFQQXl5Dt4kYGsHx08Wg== X-Received: by 2002:a63:f13:: with SMTP id e19mr4496092pgl.132.1567013786692; Wed, 28 Aug 2019 10:36:26 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id d11sm4397723pfh.59.2019.08.28.10.36.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Aug 2019 10:36:25 -0700 (PDT) Date: Sun, 25 Aug 2019 14:59:37 -0700 From: Kees Cook To: David Abdurachmanov Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , Oleg Nesterov , Andy Lutomirski , Will Drewry , Shuah Khan , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , David Abdurachmanov , Thomas Gleixner , Allison Randal , Alexios Zavras , Anup Patel , Vincent Chen , Alan Kao , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, me@carlosedp.com Subject: Re: [PATCH v2] riscv: add support for SECCOMP and SECCOMP_FILTER Message-ID: <201908251451.73C6812E8@keescook> References: <20190822205533.4877-1-david.abdurachmanov@sifive.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190822205533.4877-1-david.abdurachmanov@sifive.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 22, 2019 at 01:55:22PM -0700, David Abdurachmanov wrote: > This patch was extensively tested on Fedora/RISCV (applied by default on > top of 5.2-rc7 kernel for <2 months). The patch was also tested with 5.3-rc > on QEMU and SiFive Unleashed board. Oops, I see the mention of QEMU here. Where's the best place to find instructions on creating a qemu riscv image/environment? > There is one failing kernel selftest: global.user_notification_signal This test has been fragile (and is not arch-specific), so as long as everything else is passing, I would call this patch ready to go. :) Reviewed-by: Kees Cook -- Kees Cook