diff options
author | Kees Cook <keescook@chromium.org> | 2020-09-12 04:08:07 -0700 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2020-09-19 00:59:29 -0700 |
commit | 31c36eb87c85b6de0f341b1184f90137106a9f81 (patch) | |
tree | 2a7d8732ff23d3875e5ae39e2c2bfb8481090825 /Documentation/x86 | |
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>
Diffstat (limited to 'Documentation/x86')
0 files changed, 0 insertions, 0 deletions