Re: [PATCH v8 4/7] entry: Support Syscall User Dispatch on common syscall entry

2020-12-01 Thread Andy Lutomirski
On Fri, Nov 27, 2020 at 11:33 AM Gabriel Krisman Bertazi wrote: > > Syscall User Dispatch (SUD) must take precedence over seccomp and > ptrace, since the use case is emulation (it can be invoked with a > different ABI) such that seccomp filtering by syscall number doesn't > make sense in the first

Re: [PATCH v8 4/7] entry: Support Syscall User Dispatch on common syscall entry

2020-12-01 Thread Kees Cook
On Fri, Nov 27, 2020 at 02:32:35PM -0500, Gabriel Krisman Bertazi wrote: > Syscall User Dispatch (SUD) must take precedence over seccomp and > ptrace, since the use case is emulation (it can be invoked with a > different ABI) such that seccomp filtering by syscall number doesn't > make sense in the

[PATCH v8 4/7] entry: Support Syscall User Dispatch on common syscall entry

2020-11-28 Thread Gabriel Krisman Bertazi
Syscall User Dispatch (SUD) must take precedence over seccomp and ptrace, since the use case is emulation (it can be invoked with a different ABI) such that seccomp filtering by syscall number doesn't make sense in the first place. In addition, either the syscall is dispatched back to userspace, i