Re: [PATCH 1/2] riscv: add support for SECCOMP incl. filters

From: David Abdurachmanov
Date: Thu Dec 06 2018 - 12:13:10 EST


On Thu, Dec 6, 2018 at 6:07 PM Kees Cook <keescook@xxxxxxxxxxxx> wrote:
>
> On Thu, Dec 6, 2018 at 7:02 AM David Abdurachmanov
> <david.abdurachmanov@xxxxxxxxx> wrote:
> > The patch adds support for SECCOMP and SECCOMP_FILTER (BPF).
>
> I built this against linux-next but it's missing seccomp.h. Was that
> accidentally left out of the commit?
>
>
> CC arch/riscv/kernel/asm-offsets.s
> In file included from ./include/linux/sched.h:21:0,
> from arch/riscv/kernel/asm-offsets.c:18:
> ./include/linux/seccomp.h:14:10: fatal error: asm/seccomp.h: No such
> file or directory
> #include <asm/seccomp.h>
> ^~~~~~~~~~~~~~~
>

I forgot to add it...
Will fix it.

david