[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEn-LTr5tUHCQfCaoJn1KBz1Yqs03MMO_n=Em-X87LK3b-AkOQ@mail.gmail.com>
Date: Thu, 6 Dec 2018 18:11:36 +0100
From: David Abdurachmanov <david.abdurachmanov@...il.com>
To: Kees Cook <keescook@...omium.org>
Cc: Palmer Dabbelt <palmer@...ive.com>, aou@...s.berkeley.edu,
luto@...capital.net, Will Drewry <wad@...omium.org>,
Green Hu <green.hu@...il.com>, deanbo422@...il.com,
linux-kernel@...r.kernel.org, linux-riscv@...ts.infradead.org
Subject: Re: [PATCH 1/2] riscv: add support for SECCOMP incl. filters
On Thu, Dec 6, 2018 at 5:52 PM Kees Cook <keescook@...omium.org> wrote:
>
> On Thu, Dec 6, 2018 at 7:02 AM David Abdurachmanov
> <david.abdurachmanov@...il.com> wrote:
> > The patch adds support for SECCOMP and SECCOMP_FILTER (BPF).
>
> Can you add support to tools/testing/selftests/seccomp/seccomp_bpf.c
> as well? That selftest finds a lot of weird corner-cases...
>
> > diff --git a/arch/riscv/include/asm/thread_info.h b/arch/riscv/include/asm/thread_info.h
> > index 1c9cc8389928..1fd6e4130cab 100644
> > --- a/arch/riscv/include/asm/thread_info.h
> > +++ b/arch/riscv/include/asm/thread_info.h
> > @@ -81,6 +81,7 @@ struct thread_info {
> > #define TIF_MEMDIE 5 /* is terminating due to OOM killer */
> > #define TIF_SYSCALL_TRACEPOINT 6 /* syscall tracepoint instrumentation */
> > #define TIF_SYSCALL_AUDIT 7 /* syscall auditing */
> > +#define TIF_SECCOMP 8 /* syscall secure computing */
>
> Nit: extra tab needs to be removed.
Will fix it.
I need to cleanup my vim configuration for tab with.
david
Powered by blists - more mailing lists