Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1186501ybl; Wed, 28 Aug 2019 10:53:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqzf9RghBwANtu47Hs1fLVqxRkXHk1J7E31oCZ8uA+sEB+EqlUzBRM+oKHw5Q2ZjKBy33prF X-Received: by 2002:a63:fe15:: with SMTP id p21mr4559384pgh.149.1567014802386; Wed, 28 Aug 2019 10:53:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567014802; cv=none; d=google.com; s=arc-20160816; b=H9X0Dn+R7OlZowOv2K5xTBKr1pJonppdmgBdsUqQT7xhwYpV58JsYfF8CGQPDMS8fM 7/Uw8s+64Cd5h/jZxE4CxA37UCXZpHohYLFa97Wwfvw/ojfZuXoP93FrNlJnFoOyAYy+ NBCh5/Vw4IeInk3Ya2lKDelq7G0sKizmHfI/5X2zqpM0ylwEWAGWLYxcnrcop7A3PC5Q MJKm65hhtug31TX3LFhPP/K6rYGGqmBsfyfmH8YZumO4D/VdEj6zb0fXpEBIPS1LSApC uvVe9nKfWJCMqXK+fQs4UTbQZc5rXLjQv5aP8EJLewbfKlQb5ig9cD4I5jIQqMnw43GX c3wQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=jQX3yoLyPfk/0j+lt93BtL/GBDo4w3swgacBIDakXXQ=; b=x1lWx0h4M43LWZllbCJHOsymxFdsFd787fN5Mf2IsvHIE28k0zPjmCEuqqV4ND2FlG ri7hckivWbcgzztjGh41+RJafYtC/KtX/U3hxAf0shObLL8E6vJ9gTPZ+Oebc0rkSb1m 5jTWKOEFt4g7QMPZjfh/ZBs8UJzHgiDs/t0x2kwCoS7jLBze0AGKACqQS7/SnYWJqdLc r/OVi9eUIeoWBJ2cRV0Im1GL6pH6FTaCYVp16xkSbupW1lscd8W6HWpzBggULF1x7yHv Jmvx6Gi4s/oZ/uAOtLX4FYh3pF3zT7aYexGbEsnaIP2AtSjmpJk0NQEpZ7+rJsuSaGwz R7kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b=XhlIuiCr; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 26si2373133pja.6.2019.08.28.10.53.06; Wed, 28 Aug 2019 10:53:22 -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=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b=XhlIuiCr; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726965AbfH1RwI (ORCPT + 99 others); Wed, 28 Aug 2019 13:52:08 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:35853 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726872AbfH1RwI (ORCPT ); Wed, 28 Aug 2019 13:52:08 -0400 Received: by mail-pf1-f194.google.com with SMTP id w2so282023pfi.3 for ; Wed, 28 Aug 2019 10:52:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amacapital-net.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=jQX3yoLyPfk/0j+lt93BtL/GBDo4w3swgacBIDakXXQ=; b=XhlIuiCrJiPd178mhAYLbMaCFhZdbbqbwaKU3q6uJ30qMagqqTw/bFQdZlNUymLTK8 dAlhmcyR3vP0ZtDqdiHYyudCImcd6mGVQj44mv4tr0vwZxX8d6TFobwdN4uxlZ1uDl/t X/kt1Ft483Gh0bH+NGznab4xcFdJ/6TYS+9Yo3rpExBYeqGDHZD6RaHPArHNC3kr2rgJ NxILOLue3/+PKN00bZKV+tNBQ8D4tNvwKWRAPKMbVtIL1UD4Gr4sqUnHjy2NZtrlK7hv Jg6WoKH+rCjRnSUQMig8d9M/n0qExNh5AHuPyAICyXxTEnIuGS65lVHCT01gHzZmPOSt MLHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=jQX3yoLyPfk/0j+lt93BtL/GBDo4w3swgacBIDakXXQ=; b=M6KxcwVxzKNzB4YjqDXpO178R21KXila/DM8EnoK5BUrOtWv5Ja3ofreBu89aV2OB0 gg0+tebDTkzK18Svs2lrweXLmpuO6DaodLrtBBglSWDQnKJdfuUr6CVEsmutgxuC3B7D BMuUt0OttrmNE4ndtolqOH3UcLxjt+0JqNhhFjstmSdyVoJH+5da+YiHwybD0J5Vp9qE 8hlj8k5u4Vndu3IElEvFHH42AS7sE1eJH6GqKbgqxUVX6/ZLsG2GoXTJ04MruVJTX4U2 PJJzIs9652j6enj/R83b1LVUKROb3i/o0oA5ujAfM8oEjpZbtSVDNRBs/lvhPlmHU4Kt siFg== X-Gm-Message-State: APjAAAWZPugG34O4CC5bok59X4Au7q0atiIMXKlkgE00j4g8p9hO2Fiy +m3PFsow8Kgdyo/EahVLSG//ug== X-Received: by 2002:a17:90a:9905:: with SMTP id b5mr2493871pjp.117.1567014727512; Wed, 28 Aug 2019 10:52:07 -0700 (PDT) Received: from ?IPv6:2600:1012:b023:28ef:14c8:9cc:b602:d8f? ([2600:1012:b023:28ef:14c8:9cc:b602:d8f]) by smtp.gmail.com with ESMTPSA id x10sm2728615pjo.4.2019.08.28.10.52.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Aug 2019 10:52:06 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: [PATCH v2] riscv: add support for SECCOMP and SECCOMP_FILTER From: Andy Lutomirski X-Mailer: iPhone Mail (16G77) In-Reply-To: <201908251451.73C6812E8@keescook> Date: Wed, 28 Aug 2019 10:52:05 -0700 Cc: David Abdurachmanov , Paul Walmsley , Palmer Dabbelt , Albert Ou , Oleg Nesterov , 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 Content-Transfer-Encoding: quoted-printable Message-Id: <419CB0D1-E51C-49D5-9745-7771C863462F@amacapital.net> References: <20190822205533.4877-1-david.abdurachmanov@sifive.com> <201908251451.73C6812E8@keescook> To: Kees Cook Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Aug 25, 2019, at 2:59 PM, Kees Cook wrote: >=20 >> 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. >=20 > Oops, I see the mention of QEMU here. Where's the best place to find > instructions on creating a qemu riscv image/environment? I don=E2=80=99t suppose one of you riscv folks would like to contribute risc= v support to virtme? virtme-run =E2=80=94arch=3Driscv would be quite nice, a= nd the total patch should be just a couple lines. Unfortunately, it helps a= lot to understand the subtleties of booting the architecture to write those= couple lines :)