commit | 31c36eb87c85b6de0f341b1184f90137106a9f81 | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Sat Sep 12 04:08:07 2020 -0700 |
committer | Kees Cook <keescook@chromium.org> | Sat Sep 19 00:59:29 2020 -0700 |
tree | 2a7d8732ff23d3875e5ae39e2c2bfb8481090825 | |
parent | a6a4d78419a04095221ec2b518edefb080218d55 [diff] |
selftests/seccomp: Provide generic syscall setting macro 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> Link: https://lore.kernel.org/lkml/20200912110820.597135-3-keescook@chromium.org Acked-by: Christian Brauner <christian.brauner@ubuntu.com>