[PATCH 02/15] selftests/seccomp: Provide generic syscall setting macro

Christian Brauner christian.brauner at ubuntu.com
Wed Sep 16 01:53:13 AEST 2020


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 at chromium.org>
> ---

SYSCALL_SWITCH(_regs, nr)?

But looks good either way!
Acked-by: Christian Brauner <christian.brauner at ubuntu.com>


More information about the Linuxppc-dev mailing list