riscv: Enable seccomp architecture tracking
authorYiFei Zhu <yifeifz2@illinois.edu>
Wed, 11 Nov 2020 13:33:50 +0000 (07:33 -0600)
committerKees Cook <keescook@chromium.org>
Fri, 20 Nov 2020 19:16:35 +0000 (11:16 -0800)
commit673a11a7e4152b101bad6851c4e4c34c7c6d6dde
treef4cfb3d9a53ce06c6d5a557f65441d5874a438a9
parente7bcb4622ddf4473da6c03fa8423919a568c57dc
riscv: Enable seccomp architecture tracking

To enable seccomp constant action bitmaps, we need to have a static
mapping to the audit architecture and system call table size. Add these
for riscv.

Signed-off-by: YiFei Zhu <yifeifz2@illinois.edu>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/58ef925d00505cbb77478fa6bd2b48ab2d902460.1605101222.git.yifeifz2@illinois.edu
arch/riscv/include/asm/seccomp.h