From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 2/2] RISC-V: Add support for SECCOMP Date: Sat, 27 Oct 2018 00:55:59 -0700 Message-ID: <20181027075559.GB7868@infradead.org> References: <20181024204036.8799-1-palmer@sifive.com> <20181024204036.8799-3-palmer@sifive.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20181024204036.8799-3-palmer@sifive.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+glpr-linux-riscv=m.gmane.org@lists.infradead.org To: Palmer Dabbelt Cc: kstewart@linuxfoundation.org, aou@eecs.berkeley.edu, wad@chromium.org, paul@paul-moore.com, Greg KH , Wesley Terpstra , david.abdurachmanov@gmail.com, linux-kernel@vger.kernel.org, eparis@redhat.com, luto@amacapital.net, dhowells@redhat.com, linux-audit@redhat.com, pombredanne@nexb.com, linux-riscv@lists.infradead.org, tglx@linutronix.de, keescook@chromium.org List-Id: linux-audit@redhat.com I don't know much about seccomp, so just a few general nitpicks: On Wed, Oct 24, 2018 at 01:40:36PM -0700, Palmer Dabbelt wrote: > + bool "Enable seccomp to safely compute untrusted bytecode" > + > + help The empty line above is odd, please drop it. > +++ b/arch/riscv/include/asm/seccomp.h > @@ -0,0 +1,10 @@ > +/* Copyright 2018 SiFive, Inc. */ > +/* SPDX-License-Identifier: GPL-2.0 */ The SPDX tag should go into the first line. > +#ifndef _ASM_RISCV_SECCOMP_H > +#define _ASM_RISCV_SECCOMP_H > + > +#include > + > +#include And while at it I'd drop this empty line as well.