On Sat, Sep 12, 2020 at 04:08:07AM -0700, Kees Cook wrote:
In order to avoid "#ifdef"s in the main function bodies, create a new macro, SYSCALL_NUM_SET(), where arch-specific logic can live.
Signed-off-by: Kees Cook keescook@chromium.org
SYSCALL_SWITCH(_regs, nr)?
But looks good either way! Acked-by: Christian Brauner christian.brauner@ubuntu.com