Re: [PATCH v3 seccomp 1/5] x86: Enable seccomp architecture tracking

2020-09-30 Thread Jann Horn
On Thu, Oct 1, 2020 at 12:53 AM Kees Cook wrote: > > On Wed, Sep 30, 2020 at 11:33:15PM +0200, Jann Horn wrote: > > On Wed, Sep 30, 2020 at 11:21 PM Kees Cook wrote: > > > On Wed, Sep 30, 2020 at 10:19:12AM -0500, YiFei Zhu wrote: > > > > From: Kees Cook > > > > > > > > Provide seccomp internals

Re: [PATCH v3 seccomp 1/5] x86: Enable seccomp architecture tracking

2020-09-30 Thread Kees Cook
On Wed, Sep 30, 2020 at 11:33:15PM +0200, Jann Horn wrote: > On Wed, Sep 30, 2020 at 11:21 PM Kees Cook wrote: > > On Wed, Sep 30, 2020 at 10:19:12AM -0500, YiFei Zhu wrote: > > > From: Kees Cook > > > > > > Provide seccomp internals with the details to calculate which syscall > > > table the run

Re: [PATCH v3 seccomp 1/5] x86: Enable seccomp architecture tracking

2020-09-30 Thread Jann Horn
On Wed, Sep 30, 2020 at 11:21 PM Kees Cook wrote: > On Wed, Sep 30, 2020 at 10:19:12AM -0500, YiFei Zhu wrote: > > From: Kees Cook > > > > Provide seccomp internals with the details to calculate which syscall > > table the running kernel is expecting to deal with. This allows for > > efficient ar

Re: [PATCH v3 seccomp 1/5] x86: Enable seccomp architecture tracking

2020-09-30 Thread Kees Cook
On Wed, Sep 30, 2020 at 10:19:12AM -0500, YiFei Zhu wrote: > From: Kees Cook > > Provide seccomp internals with the details to calculate which syscall > table the running kernel is expecting to deal with. This allows for > efficient architecture pinning and paves the way for constant-action > bit

[PATCH v3 seccomp 1/5] x86: Enable seccomp architecture tracking

2020-09-30 Thread YiFei Zhu
From: Kees Cook Provide seccomp internals with the details to calculate which syscall table the running kernel is expecting to deal with. This allows for efficient architecture pinning and paves the way for constant-action bitmaps. Signed-off-by: Kees Cook [YiFei: Removed x32, added macro for n