From mboxrd@z Thu Jan 1 00:00:00 1970 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=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 25177C3A5A1 for ; Wed, 28 Aug 2019 17:52:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EDDDA22CF8 for ; Wed, 28 Aug 2019 17:52:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=amacapital-net.20150623.gappssmtp.com header.i=@amacapital-net.20150623.gappssmtp.com header.b="XhlIuiCr" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726894AbfH1RwI (ORCPT ); Wed, 28 Aug 2019 13:52:08 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:46961 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726853AbfH1RwI (ORCPT ); Wed, 28 Aug 2019 13:52:08 -0400 Received: by mail-pg1-f195.google.com with SMTP id m3so103491pgv.13 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=o7bV7df1Vd2Ld58x6F8dZlEyBC1vQwfjJCtc1hJ/TuUkVFK1ogk6AW6i8p9JD7Ic89 bWQE3gHGv59et3w9ScTYKfRKRbZJFxJ9A7dx9l+ediaYGo0gtk5n6RwMwkGjEQYO2YKq CTlw0+vvWd8QNT4qIyT6f6cOdJ6jbCZR9AW7FHjyiQX/fLNxA69FpeAiK/C/Fxr+ISNr xzvziU480Sgzlo+2+ryF5JYH3F3Anok5y8/FD7ZvlUyzZOkVyVkJ69IcgltLPAu275QI BrB1YDZejb39iE7bL9udYD8QAWOE9Rddk9K1PqekjFy/KInU0kfcg3XciicdxY++X7KC LfNA== X-Gm-Message-State: APjAAAXTpsPpyPWN8QH6XWnovmfYv9WuZXvhx3IsJYET2KhLPbNUsf2D 7OjfQ9HGK6Z5sQ/v2+EsJzQQOg== X-Google-Smtp-Source: APXvYqxOrLR3mQwFe9lP+xvQ8UaEwRlRzDb4ILg8zRF5qtKWo+EbZYY96fc4AyXGZBZM2GL8Qh83Qw== 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: bpf-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: bpf@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 :)