[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CALCETrVtwmS0707L5RbWvJpyw-+xtT73xph59DJC2TGa-Hhw1Q@mail.gmail.com>
Date: Sat, 21 Nov 2020 20:01:10 -0800
From: Andy Lutomirski <luto@...nel.org>
To: Kees Cook <keescook@...omium.org>
Cc: Gabriel Krisman Bertazi <krisman@...labora.com>,
Andrew Lutomirski <luto@...nel.org>,
Rich Felker <dalias@...c.org>,
Thomas Gleixner <tglx@...utronix.de>,
Christian Brauner <christian.brauner@...ntu.com>,
Peter Zijlstra <peterz@...radead.org>,
Matthew Wilcox <willy@...radead.org>,
Shuah Khan <shuah@...nel.org>,
LKML <linux-kernel@...r.kernel.org>,
Linux API <linux-api@...r.kernel.org>,
"open list:KERNEL SELFTEST FRAMEWORK"
<linux-kselftest@...r.kernel.org>, X86 ML <x86@...nel.org>,
Paul Gofman <gofmanp@...il.com>, kernel@...labora.com
Subject: Re: [PATCH v7 3/7] kernel: Implement selective syscall userspace redirection
On Fri, Nov 20, 2020 at 4:18 PM Kees Cook <keescook@...omium.org> wrote:
>
> On Thu, Nov 19, 2020 at 12:43:05PM -0500, Gabriel Krisman Bertazi wrote:
> > The existing interface could be extended with a flags field as part of
> > the opcode passed in argument 2, which is currently reserved, and then
> > return a FD, just like seccomp(2) does. So it is not like the current
> > patches couldn't be extended in the future if needed, unless I'm
> > mistaken.
>
> Yes, I'd prefer this series go in as-is, and if there is a need for
> extending the API, arg2 can have more values added.
I agree.
>
> --
> Kees Cook
Powered by blists - more mailing lists